From 7c8c44fc185f9501c5ec66714f60180e0570b1a2 Mon Sep 17 00:00:00 2001 From: Ewan Miller Date: Wed, 25 Sep 2024 23:06:31 +0100 Subject: [PATCH] Add threshold in benchmarking.yaml --- .github/workflows/benchmarking.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarking.yaml b/.github/workflows/benchmarking.yaml index 79d6795..e048cf5 100644 --- a/.github/workflows/benchmarking.yaml +++ b/.github/workflows/benchmarking.yaml @@ -60,7 +60,16 @@ jobs: working-directory: ${{github.workspace}}/build # Build your program with the given configuration run: make --trace #cmake --build ${{github.workspace}}/build - + + - name: Set Up Threshold + run: bencher threshold create \ + --branch '${{ github.head_ref }}' \ + --testbed ubuntu-latest \ + --measure Latency \ + --test percentage \ + --upper-boundary 0.0 \ + nuTens + - name: Track PR Benchmarks with Bencher working-directory: ${{github.workspace}}/build run: |