From: Jérôme Benoit Date: Sun, 6 Oct 2024 15:01:20 +0000 (+0200) Subject: feat(benchmarks): add bencher threshold checks X-Git-Tag: v4.3.0~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e56c70ec471b0ebfccfa0ab0f31be391221d948c;p=poolifier.git feat(benchmarks): add bencher threshold checks Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/internal-benchmark.yml b/.github/workflows/internal-benchmark.yml index 75b97cff..3af6cdb4 100644 --- a/.github/workflows/internal-benchmark.yml +++ b/.github/workflows/internal-benchmark.yml @@ -34,10 +34,18 @@ jobs: - name: Run production benchmark run: | bencher run \ - --if-branch "$GITHUB_REF_NAME" \ - --else-if-branch "$GITHUB_BASE_REF" \ - --else-if-branch master \ - --hash "$GITHUB_SHA" \ + --branch master \ + --threshold-measure latency \ + --threshold-test t_test \ + --threshold-max-sample-size 64 \ + --threshold-lower-boundary _ \ + --threshold-upper-boundary 0.99 \ + --threshold-measure throughput \ + --threshold-test t_test \ + --threshold-max-sample-size 64 \ + --threshold-lower-boundary 0.99 \ + --threshold-upper-boundary _ \ + --thresholds-reset \ --file benchmark-report.json \ --err \ --github-actions ${{ secrets.GITHUB_TOKEN }} \