Debug WIP

This commit is contained in:
Allan Jeremy 2022-06-07 15:42:27 +03:00
parent f80e243e6f
commit 3a5f54e968

View file

@ -25,7 +25,7 @@ jobs:
- {
script: "run-analyze-cachegrind",
timeout: 12,
title: "Luau Benchmarks (CacheGrind)",
title: "Luau Analyze",
cachegrindTitle: "Performance",
cachegrindIterCount: 20,
}
@ -54,10 +54,10 @@ jobs:
sudo apt-get install valgrind
- name: Run ${{ matrix.bench.title }} (Cold Cachegrind)
run: sudo bash ./scripts/run-with-cachegrind.sh python "./bench/measure_time.py ./build/release/luau-analyze bench/static_analysis/LuauPolyfillMap.lua" "${{ matrix.bench.cachegrindTitle}}Cold" 1 | tee ${{ matrix.bench.script }}-output.txt
run: sudo bash ./scripts/run-with-cachegrind.sh python (./bench/measure_time.py ./build/release/luau-analyze bench/static_analysis/LuauPolyfillMap.lua) "${{ matrix.bench.cachegrindTitle}}Cold" 1 | tee ${{ matrix.bench.script }}-output.txt
- name: Run ${{ matrix.bench.title }} (Warm Cachegrind)
run: sudo bash ./scripts/run-with-cachegrind.sh python "./bench/measure_time.py ./build/release/luau-analyze bench/static_analysis/LuauPolyfillMap.lua" "${{ matrix.bench.cachegrindTitle}}" 2 | tee ${{ matrix.bench.script }}-output.txt
# - name: Run ${{ matrix.bench.title }} (Warm Cachegrind)
# run: sudo bash ./scripts/run-with-cachegrind.sh python "./bench/measure_time.py ./build/release/luau-analyze bench/static_analysis/LuauPolyfillMap.lua" "${{ matrix.bench.cachegrindTitle}}" 2 | tee ${{ matrix.bench.script }}-output.txt
- name: Checkout Benchmark Results repository
uses: actions/checkout@v3