diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-05-28 19:17:43 -0400 |
---|---|---|
committer | David Eichmann <EichmannD@gmail.com> | 2019-05-29 10:24:19 +0100 |
commit | 210b35cf7df448253f7c17fba5109f7e96cad425 (patch) | |
tree | 2190f9f5239b35454fc3161f6dc344573c1c15e0 | |
parent | 2d0cf6252957b8980d89481ecd0b79891da4b14b (diff) | |
download | haskell-wip/recenter-T9630.tar.gz |
testsuite: Compile T9630 with +RTS -G1wip/recenter-T9630
For the reasons described in Note [residency] we run programs with -G1
when we care about the max_bytes_used metric.
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index 0db9bcf0ee..39aed75eca 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -382,7 +382,10 @@ test('Naperian', test ('T9630', [ collect_compiler_stats('max_bytes_used',15), # Note [residency] - extra_clean(['T9630a.hi', 'T9630a.o']) + extra_clean(['T9630a.hi', 'T9630a.o']), + + # Use `+RTS -G1` for more stable residency measurements. Note [residency]. + extra_hc_opts('+RTS -G1 -RTS') ], multimod_compile, ['T9630', '-v0 -O']) |