summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-10 10:27:44 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-11 22:19:15 -0400
commitf1088b3f31ceddf918a319c97557fb1f08a9a387 (patch)
tree85e3da000a2e6f3c7eae2a5ee640d0d84a3757f7
parentc43078d7b78b4722dd30b56674c27189d2689ffe (diff)
downloadhaskell-f1088b3f31ceddf918a319c97557fb1f08a9a387.tar.gz
testsuite: Specify metrics collected by T17516
Previously it collected everything, including "max bytes used". This is problematic since the test makes no attempt to control for deviations in GC timing, resulting in high variability. Fix this by only collecting "bytes allocated".
-rw-r--r--testsuite/tests/perf/compiler/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 52cd3e219a..a8eea78729 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -370,7 +370,7 @@ test('T16190',
test('T16473', normal, makefile_test, ['T16473'])
test('T17516',
- [ collect_compiler_stats(),
+ [ collect_compiler_stats('bytes allocated', 5),
extra_clean(['T17516A.hi', 'T17516A.o'])
],
multimod_compile,