[commit: testsuite] master: Peak-memory usage for T3064 varies depending on whether .hi file exists on not (a7045be)
Simon Peyton Jones
simonpj at microsoft.com
Tue Apr 23 10:15:05 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
https://github.com/ghc/testsuite/commit/a7045be8dae75bc3b673e82a90384e04d0d07a85
>---------------------------------------------------------------
commit a7045be8dae75bc3b673e82a90384e04d0d07a85
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue Apr 23 09:14:27 2013 +0100
Peak-memory usage for T3064 varies depending on whether .hi file exists on not
Really, the existence or otherwise of the .hi file shouldn't affect validate
output, but it seems to. Maybe 'make clean' doesn't clean enough?
In ay case peak memory usage is a fragile number because it depends on when
GC happens.
So I increased the range to 20% for now.
>---------------------------------------------------------------
tests/perf/compiler/all.T | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tests/perf/compiler/all.T b/tests/perf/compiler/all.T
index 3914fef..0a579fe 100644
--- a/tests/perf/compiler/all.T
+++ b/tests/perf/compiler/all.T
@@ -161,11 +161,13 @@ test('T3064',
compiler_stats_num_field('peak_megabytes_allocated',
[(wordsize(32), 14, 1),
# expected value: 14 (x86/Linux 28-06-2012):
- (wordsize(64), 26, 10)]),
+ (wordsize(64), 26, 20)]),
# (amd64/Linux): 18
# (amd64/Linux) 2012-02-07: 26
# (amd64/Linux) 2013-02-12: 23; increased range to 10%
# (amd64/Linux) 2013-04-03: 26
+ # Increased range to 20%. peak-usage varies from 22 to 26,
+ # depending on whether the old .hi file exists
compiler_stats_num_field('bytes allocated',
[(wordsize(32), 111189536, 10),
More information about the ghc-commits
mailing list