summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-10 10:27:44 -0400
committerBen Gamari <ben@smart-cactus.org>2020-08-10 10:29:26 -0400
commit2e4eda08833772fc511dd92feb1c9339b8df25e5 (patch)
treeadad4e2acf9f6ec81bab138dea000283e9c14544
parent8a665db6174eaedbbae925c0ccb4c22b3f29bcaf (diff)
downloadhaskell-wip/fix-T17516.tar.gz
testsuite: Specify metrics collected by T17516wip/fix-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,