summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-02-22 11:10:40 +0100
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-02-27 15:40:28 +0100
commit0c60f420e4b337544e3b4a65ff57eda0812d7cc6 (patch)
tree0c666475b144e5f43b347540988e03b90a150256
parent157fe938eabf6428fa9de42d57f8cfad08b38ddb (diff)
downloadhaskell-wip/widen-accept-T12545.tar.gz
Widen acceptance window of T12545 (#19414)wip/widen-accept-T12545
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,