summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-06-11 15:14:36 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-17 15:31:53 -0400
commit0639dc10e214280a90dd6b75ce86cf43d1eb2286 (patch)
tree01a221a9419441724d9b2f6298cdb2397a4da0ee
parentd23fc67847a27222ad8a0c193e6a10b5a4c0cf48 (diff)
downloadhaskell-0639dc10e214280a90dd6b75ce86cf43d1eb2286.tar.gz
T16190: only measure bytes_allocated
Just adding `{-# LANGUAGE BangPatterns #-}` makes the two other metrics fluctuate by 13%.
-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 611d8b4390..ec1f17ad18 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -352,7 +352,7 @@ test ('WWRec',
test('T16190',
[ req_th,
unless(have_ncg(), skip), # T16190 tests a NCG feature
- collect_compiler_stats()
+ collect_compiler_stats('bytes allocated',20)
],
multimod_compile,
['T16190.hs', '-v0'])