From 3a5f54e968425ee3cd991790e94c0b7ee3bca5b5 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Tue, 7 Jun 2022 15:42:27 +0300 Subject: [PATCH] Debug WIP --- .github/workflows/static-analysis-cachegrind.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static-analysis-cachegrind.yml b/.github/workflows/static-analysis-cachegrind.yml index f327ae74..50865661 100644 --- a/.github/workflows/static-analysis-cachegrind.yml +++ b/.github/workflows/static-analysis-cachegrind.yml @@ -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