Skip to content

Commit

Permalink
Use 2% benchmark threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jul 30, 2024
1 parent f895808 commit cae04cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/benchmark-vs-prev-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cae04cd

Please sign in to comment.