From ddec632caac8db4e345fb2e7ac26c32547956d05 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Wed, 25 May 2022 12:55:48 +0300 Subject: [PATCH] Debug WIP: Updated benchmark step name --- .github/workflows/benchmark-cachegrind.yml | 18 ++---------------- .github/workflows/benchmark.yml | 15 ++------------- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/.github/workflows/benchmark-cachegrind.yml b/.github/workflows/benchmark-cachegrind.yml index 8866e649..521f83d9 100644 --- a/.github/workflows/benchmark-cachegrind.yml +++ b/.github/workflows/benchmark-cachegrind.yml @@ -56,9 +56,6 @@ jobs: - name: Run ${{ matrix.bench.title }} (Warm Cachegrind) run: sudo bash ./scripts/run-with-cachegrind.sh python ./bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt - - name: Create gh-pages directory - run: mkdir gh-pages - - name: Switch to & checkout benchmark results (gh-pages) repo uses: actions/checkout@v3 with: @@ -67,17 +64,6 @@ jobs: token: "${{ secrets.BENCH_GITHUB_TOKEN }}" path: "./gh-pages" - - name: Navigate into gh-pages directory - run: cd gh-pages - - - name: Checkout benchmark results (gh-pages) - run: | - git status - git fetch --no-tags --depth=1 origin main - git checkout main - git pull - git status - #Run `github-action-benchmark` action - name: Store ${{ matrix.bench.title }} result uses: Roblox/rhysd-github-action-benchmark@v-luau @@ -85,10 +71,10 @@ jobs: name: ${{ matrix.bench.title }} tool: "benchmarkluau" # This should come from Luau repo - output-file-path: ../${{ matrix.bench.script }}-output.txt + output-file-path: ./${{ matrix.bench.script }}-output.txt # This should map to thebenchmark results repo - external-data-json-path: ../gh-pages/dev/bench/data.json + external-data-json-path: ./gh-pages/dev/bench/data.json alert-threshold: 150% fail-threshold: 200% fail-on-alert: true diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index bd6411c0..5bb5a765 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -48,9 +48,6 @@ jobs: run: | python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt - - name: Create gh-pages directory - run: mkdir gh-pages - - name: Switch to & checkout benchmark results (gh-pages) repo uses: actions/checkout@v3 with: @@ -58,14 +55,6 @@ jobs: ref: "main" path: "./gh-pages" - - name: Checkout benchmark results (gh-pages) - run: | - git status - git fetch --no-tags --depth=1 origin main - git checkout main - git pull - git status - #Run `github-action-benchmark` action - name: Store ${{ matrix.bench.title }} result uses: Roblox/rhysd-github-action-benchmark@v-luau @@ -73,10 +62,10 @@ jobs: name: ${{ matrix.bench.title }} tool: "benchmarkluau" # This should come from Luau repo - output-file-path: ../${{ matrix.bench.script }}-output.txt + output-file-path: ./${{ matrix.bench.script }}-output.txt # This should map to thebenchmark results repo - external-data-json-path: ../gh-pages/dev/bench/data.json + external-data-json-path: ./gh-pages/dev/bench/data.json alert-threshold: 150% fail-threshold: 200% fail-on-alert: true