[commit: testsuite] master: Better performance for #3064, but #5030 is now expect-broken (ffc4384)
Simon Marlow
marlowsd at gmail.com
Thu May 10 11:57:54 CEST 2012
On 09/05/2012 17:51, Simon Peyton Jones wrote:
> Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
>
> On branch : master
>
> http://hackage.haskell.org/trac/ghc/changeset/ffc4384af1e245548092463864337a9b7d89aa9e
>
>> ---------------------------------------------------------------
>
> commit ffc4384af1e245548092463864337a9b7d89aa9e
> Author: Simon Peyton Jones<simonpj at microsoft.com>
> Date: Wed May 9 17:49:01 2012 +0100
>
> Better performance for #3064, but #5030 is now expect-broken
>
>> ---------------------------------------------------------------
>
> tests/perf/compiler/all.T | 9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/tests/perf/compiler/all.T b/tests/perf/compiler/all.T
> index 84adb58..7cefd4f 100644
> --- a/tests/perf/compiler/all.T
> +++ b/tests/perf/compiler/all.T
> @@ -128,10 +128,10 @@ test('T3064',
> [# expect_broken( 3064 ),
> # expected value: 9 (x86/Linux 30-03-2011):
> if_wordsize(32,
> - compiler_stats_range_field('peak_megabytes_allocated', 14, 15)),
> + compiler_stats_range_field('peak_megabytes_allocated', 10, 14)),
Beware: the second number here is the percentage deviation, not the
upper bound. I don't think you meant 14%.
See:
http://hackage.haskell.org/trac/ghc/wiki/Building/RunningTests/Adding#Performancetests
Cheers,
Simon
> # expected value: 18 (amd64/Linux):
> if_wordsize(64,
> - compiler_stats_num_field('peak_megabytes_allocated', 30, 38)),
> + compiler_stats_num_field('peak_megabytes_allocated', 20, 28)),
> # expected value: 56380288 (x86/Linux) (28/6/2011)
> if_wordsize(32,
> compiler_stats_range_field('bytes allocated', 124952112, 10)),
> @@ -144,7 +144,7 @@ test('T3064',
> compiler_stats_range_field('max_bytes_used', 5511604, 10)),
> # expected value: 4032024 (amd64/Linux, intree) (28/6/2011):
> if_wordsize(64,
> - compiler_stats_num_field('max_bytes_used', 10000000,
> + compiler_stats_num_field('max_bytes_used', 8000000,
> 14000000)),
> only_ways(['normal'])
> ],
> @@ -157,7 +157,8 @@ test('T4007',
> ['$MAKE -s --no-print-directory T4007'])
>
> test('T5030',
> - [# expected value: 449368924 (x86/Linux)
> + [expect_broken(5030),
> + # expected value: 449368924 (x86/Linux)
> if_wordsize(32,
> compiler_stats_range_field('bytes allocated', 196457520, 10)),
> # expected value: 346750856 (amd64/Linux):
>
>
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list