From cae04cdf22cd77f006609606e269447ac175a1ae Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Tue, 30 Jul 2024 16:08:32 +0200 Subject: [PATCH] Use 2% benchmark threshold --- scripts/benchmark-vs-prev-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/benchmark-vs-prev-release.sh b/scripts/benchmark-vs-prev-release.sh index 69fdfc4c..cbda8e6e 100755 --- a/scripts/benchmark-vs-prev-release.sh +++ b/scripts/benchmark-vs-prev-release.sh @@ -73,8 +73,8 @@ function benchmark_test_option { function benchmark_pi_1e17 { # New code must not be more than - # 3% slower than old code. - factor=1.03 + # 2% slower than old code. + factor=1.02 # Test failure must be observed 3 times, # we try to avoid false negatives.