From cae6851bcf5397200b9a3c6119dc0897e1ad740e Mon Sep 17 00:00:00 2001 From: algochoi <86622919+algochoi@users.noreply.github.com> Date: Tue, 17 May 2022 14:23:48 -0400 Subject: [PATCH 1/3] Test out which commit --- .github/workflows/benchmark.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f2995da9b5..723825a8f3 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -29,7 +29,6 @@ jobs: output-file-path: benchmark_output.txt # Where the previous data file is stored github-token: ${{ secrets.GITHUB_TOKEN }} - # auto-push: true # Show alert with commit comment on detecting possible performance regression alert-threshold: '90%' # Test -> default is 200% comment-on-alert: true From d24169437cee08b89e6d4c7a6c6b3a5d4c91b576 Mon Sep 17 00:00:00 2001 From: algochoi <86622919+algochoi@users.noreply.github.com> Date: Tue, 17 May 2022 14:42:08 -0400 Subject: [PATCH 2/3] Try longer benchtime --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 723825a8f3..bd358dbbe8 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -15,7 +15,7 @@ jobs: - name: Build go-algorand run: scripts/travis/build.sh - name: Run benchmark - run: go test ./data/transactions/logic -bench 'BenchmarkUintMath' -benchtime 3s | tee benchmark_output.txt + run: go test ./data/transactions/logic -bench 'BenchmarkUintMath' -benchtime 5s | tee benchmark_output.txt - name: Download previous benchmark data uses: actions/cache@v1 with: From 9183cbcd7443913a75d793bd46e04a54c0522f5a Mon Sep 17 00:00:00 2001 From: algochoi <86622919+algochoi@users.noreply.github.com> Date: Tue, 17 May 2022 14:50:18 -0400 Subject: [PATCH 3/3] Try shorter benchtime --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index bd358dbbe8..889ff72ac7 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -15,7 +15,7 @@ jobs: - name: Build go-algorand run: scripts/travis/build.sh - name: Run benchmark - run: go test ./data/transactions/logic -bench 'BenchmarkUintMath' -benchtime 5s | tee benchmark_output.txt + run: go test ./data/transactions/logic -bench 'BenchmarkUintMath' | tee benchmark_output.txt - name: Download previous benchmark data uses: actions/cache@v1 with: