diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2020-01-20 11:35:28 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-02-05 09:22:10 -0500 |
commit | 6d3b5d5706a8fcfe724ee0a042d5f7c18880ccba (patch) | |
tree | 596f715d0b77269b7b5fe9541bcbe473272e43cb /testsuite/tests/perf/compiler/all.T | |
parent | c90eca550ccf89c8eb880e4428a43a9d0e8203f0 (diff) | |
download | haskell-6d3b5d5706a8fcfe724ee0a042d5f7c18880ccba.tar.gz |
testlib: Extend existing *_opts in extra_*_opts
Previously we'd override the existing {run,hc} opts in
extra_{run,hc}_opts, which caused flakiness in T1969, see #17712.
extra_{run,hc}_opts now extends {run,hc} opts, instead of overriding.
Also we shrank the allocation area for T1969 in order to increase
residency sampling frequency.
Fixes #17712
Diffstat (limited to 'testsuite/tests/perf/compiler/all.T')
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index b4910c570a..f9cedaff55 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -9,9 +9,10 @@ setTestOpts(no_lint) test('T1969', [# expect_broken(12437), - # we collect residency for reference only, hence the large acceptance window. - # We have seen >20% variations in this number. - collect_compiler_residency(50), + collect_compiler_residency(20), + extra_run_opts('+RTS -A64k -RTS'), + # The default RESIDENCY_OPTS is 256k and we need higher sampling + # frequency. Incurs a slow-down by about 2. collect_compiler_stats('bytes allocated', 1), only_ways(['normal']), |