summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-02-22 11:10:40 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-28 05:39:05 -0500
commit856929a5fa93e9fb13bd9efcb9049054fb1bde72 (patch)
treeedeaddd82655dac8ff86d69aa475d4fcaa7e52fb
parent980151aa61a63f2c3d52de0a5fe2198d8e609471 (diff)
downloadhaskell-856929a5fa93e9fb13bd9efcb9049054fb1bde72.tar.gz
Widen acceptance window of T12545 (#19414)
This test flip-flops by +-1% in arbitrary changes in CI. While playing around with `-dunique-increment`, I could reproduce variations of 3% in compiler allocations, so I set the acceptance window accordingly. Fixes #19414.
-rw-r--r--testsuite/tests/perf/compiler/all.T5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 07aab0afca..143ebc2c8b 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -211,9 +211,12 @@ test('T12234',
compile,
[''])
+# T12545 is sensitive to -dunique-increments changes, see #19414.
+# I've seen variations of 3% by playing with that parameter, so that's the
+# current acceptance window.
test('T12545',
[ only_ways(['normal']),
- collect_compiler_stats('bytes allocated', 1),
+ collect_compiler_stats('bytes allocated', 3),
extra_clean(['T12545a.hi', 'T12545a.o'])
],
multimod_compile,