From d364bb7cf000acc7edf126a75487920c24f2698b Mon Sep 17 00:00:00 2001 From: Nathaniel Ruiz Nowell Date: Wed, 9 Dec 2020 16:41:05 -0800 Subject: [PATCH] Push up fibonacci number and only comment on alert --- .github/workflows/performance-tests.yml | 4 ++-- .../tests/performance/benchmarks/test_benchmark_fibonacci.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/performance-tests.yml b/.github/workflows/performance-tests.yml index c2f527f..a1133d0 100644 --- a/.github/workflows/performance-tests.yml +++ b/.github/workflows/performance-tests.yml @@ -38,9 +38,9 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} # Alert with a commit comment on possible performance regression alert-threshold: 200% - comment-always: true + comment-on-alert: true fail-on-alert: true - alert-comment-cc-users: '@${{ github.event.issue.user.login }}' + alert-comment-cc-users: '@${{ github.actor }}' # Make a commit on `gh-pages` with benchmarks from previous step auto-push: ${{ github.ref == 'refs/heads/mainline' }} benchmark-data-dir-path: benchmarks diff --git a/core-2/tests/performance/benchmarks/test_benchmark_fibonacci.py b/core-2/tests/performance/benchmarks/test_benchmark_fibonacci.py index 84376ce..b1dc83c 100644 --- a/core-2/tests/performance/benchmarks/test_benchmark_fibonacci.py +++ b/core-2/tests/performance/benchmarks/test_benchmark_fibonacci.py @@ -1,4 +1,4 @@ -FIBONACCI_NUMBER = 3 +FIBONACCI_NUMBER = 21 def test_core_2_fibonacci_recursive(benchmark):