summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2020-11-24 09:06:39 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-01 19:57:41 -0500
commit0dd45d0adbade7eaae973b09b4d0ff1acb1479b8 (patch)
tree98258c33b8e61456550861c2fd167fc362b0199e
parent72a87fbc7a95c012be260d1a14374e2b06ed0a36 (diff)
downloadhaskell-0dd45d0adbade7eaae973b09b4d0ff1acb1479b8.tar.gz
Bump the # of commits searched for perf baseline
The previous value of 75 meant that a feature branch with more than 75 commits would get spurious CI passes. This affects #18692, but does not fix that ticket, because if a baseline cannot be found, we should fail, not succeed.
-rw-r--r--testsuite/driver/perf_notes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/perf_notes.py b/testsuite/driver/perf_notes.py
index 53b5019dab..eb31f463da 100644
--- a/testsuite/driver/perf_notes.py
+++ b/testsuite/driver/perf_notes.py
@@ -342,7 +342,7 @@ def append_perf_stat(stats: List[PerfStat],
#
# Max number of ancestor commits to search when compiling a baseline performance metric.
-BaselineSearchDepth = 75
+BaselineSearchDepth = 1000
# (isCalculated, best fit ci test_env or None)
BestFitCiTestEnv = (False, None) # type: Tuple[bool, Optional[TestEnv]]