diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-12-15 11:18:05 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-12-15 13:07:31 -0500 |
commit | d39816285341cf639b51ae14f65c63a3e89bba95 (patch) | |
tree | 51c1cf2985f74fc3867af69812a585cdd22d964d | |
parent | 503219e3e1667ac39607021b2d9586260fbab32b (diff) | |
download | haskell-d39816285341cf639b51ae14f65c63a3e89bba95.tar.gz |
testsuite: Separate out Windows results for T5205
This test seems to have much different allocation behavior on Windows
and Linux. Previously we had widened the acceptance window to 7% to
accomodate this, but even this isn't enough any more. Instead of further
widening the window let's just give an expected number for each
platform. Really, this is precisely the issue with our performance
testing model which I've been complaining about in #12758.
Fixes test for #5205 on 64-bit Windows.
Test Plan: Validate on Windows
Reviewers: austin
Subscribers: thomie, Phyx
Differential Revision: https://phabricator.haskell.org/D2848
GHC Trac Issues: #5205
-rw-r--r-- | testsuite/tests/perf/should_run/all.T | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T index da75f42735..5e7e5cfd67 100644 --- a/testsuite/tests/perf/should_run/all.T +++ b/testsuite/tests/perf/should_run/all.T @@ -191,12 +191,17 @@ test('T5205', [stats_num_field('bytes allocated', [(wordsize(32), 47088, 5), # expected value: 47088 (x86/Darwin) - (wordsize(64), 56208, 7)]), + + (platform('x86_64-unknown-mingw32'), 52264, 5), + # 2016-12-14: 52264 (Separate out Windows results) + + (wordsize(64), 56208, 5)]), # expected value: 51320 (amd64/Linux) # 2014-07-17: 52600 (amd64/Linux) general round of updates # 2015-04-03: Widen 5->7% (amd64/Windows was doing better) # 2015-08-15: 50648 (Windows too good. avg of Windows&Linux) # 2015-10-30: 56208 (D757: Emit Typeable at definition site) + # 2016-12-14: Narrow 7->5% (Separate out Windows results) only_ways(['normal', 'optasm']) ], compile_and_run, |