[commit: testsuite] master: Adjust performance bounds slightly (52234df)

Simon Peyton Jones simonpj at microsoft.com
Thu Jan 17 15:01:55 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/52234dfedb9ad07585271f33513fb2c9e5012e1a

>---------------------------------------------------------------

commit 52234dfedb9ad07585271f33513fb2c9e5012e1a
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Jan 17 13:52:35 2013 +0000

    Adjust performance bounds slightly

>---------------------------------------------------------------

 tests/perf/compiler/all.T   |   13 ++++++++++---
 tests/perf/haddock/all.T    |    3 ++-
 tests/perf/should_run/all.T |    7 ++++---
 3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/tests/perf/compiler/all.T b/tests/perf/compiler/all.T
index 3ff9f60..09cdb01 100644
--- a/tests/perf/compiler/all.T
+++ b/tests/perf/compiler/all.T
@@ -39,7 +39,7 @@ test('T1969',
                         # 2012-10-08:     303930948 (x86/Linux, new codegen)
                         # 2012-10-29:     298921816 (x86/Windows; increased range to 5%
       if_wordsize(64,
-          compiler_stats_range_field('bytes allocated', 658786936, 1)),
+          compiler_stats_range_field('bytes allocated', 658786936, 5)),
                         # 17/11/2009:     434,845,560 (amd64/Linux)
                         # 08/12/2009:     459,776,680 (amd64/Linux)
                         # 17/05/2010:     519,377,728 (amd64/Linux)
@@ -56,7 +56,10 @@ test('T1969',
                         #                 (^ -fPIC turned off again)
                         # 12/11/2012:     658,786,936 (amd64/Linux)
                         #                 ( UNKNOWN REASON )
+                        # 17/1/13:        667,160,192 (x86_64/Linux)
+                        #                 (new demand analyser)
       only_ways(['normal']),
+
       extra_hc_opts('-dcore-lint -static')
           # Leave -dcore-lint on for this one test, so that we have something
           # that will catch a regression in -dcore-lint performance.
@@ -201,9 +204,13 @@ test('T5030',
           compiler_stats_range_field('bytes allocated', 259547660, 10)),
                      # previous:    196457520
                      # 2012-10-08:  259547660 (x86/Linux, new codegen)
-      # expected value: 346750856 (amd64/Linux):
+
       if_wordsize(64,
-          compiler_stats_range_field('bytes allocated', 530000000, 10)),
+          compiler_stats_range_field('bytes allocated', 602993184, 10)),
+            # Previously 530000000 (+/- 10%)
+            # 17/1/13:       602,993,184  (x86_64/Linux)
+            #                (new demand analyser)
+   
        only_ways(['normal'])
       ],
      compile,
diff --git a/tests/perf/haddock/all.T b/tests/perf/haddock/all.T
index e432342..5104ea9 100644
--- a/tests/perf/haddock/all.T
+++ b/tests/perf/haddock/all.T
@@ -21,10 +21,11 @@ test('haddock.base',
           stats_range_field('max_bytes_used', 45574928, 1))
                                 # 2012-08-14: 45574928 (x86/OSX)
      ,if_wordsize(64,
-          stats_range_field('bytes allocated', 5902601224, 2))
+          stats_range_field('bytes allocated', 6064874536, 2))
                                  # 2012-08-14: 5920822352 (amd64/Linux)
                                  # 2012-09-20: 5829972376 (amd64/Linux)
                                  # 2012-10-08: 5902601224 (amd64/Linux)
+                                 # 2013-01-17: 6064874536 (x86_64/Linux)
      ,if_wordsize(32,
           stats_range_field('bytes allocated', 2955470952, 1))
                                  # 2012-08-14: 3046487920 (x86/OSX)
diff --git a/tests/perf/should_run/all.T b/tests/perf/should_run/all.T
index 08ff230..cdb8852 100644
--- a/tests/perf/should_run/all.T
+++ b/tests/perf/should_run/all.T
@@ -227,9 +227,10 @@ test('T5536',
                                              1250000000)),
                            # expected value: 1246287228 (i386/Linux)
       if_wordsize(64,
-          stats_num_field('bytes allocated', 2480000000,
-                                             2510000000)),
-                           # expected value: 2492589480 (amd64/Linux)
+          stats_range_field('bytes allocated', 892399040, 5),
+                           # expected value: 2,492,589,480 (amd64/Linux)
+                           # 17/1/13:          892,399,040 (x86_64/Linux)
+                           #                   (new demand analyser)
      extra_clean(['T5536.data']),
      ignore_output,
      only_ways(['normal'])





More information about the ghc-commits mailing list