Adjust performance bounds slightly
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 17 Jan 2013 13:52:35 +0000 (13:52 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 17 Jan 2013 13:52:35 +0000 (13:52 +0000)
testsuite/tests/perf/compiler/all.T
testsuite/tests/perf/haddock/all.T
testsuite/tests/perf/should_run/all.T

index 3ff9f60..09cdb01 100644 (file)
@@ -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,
index e432342..5104ea9 100644 (file)
@@ -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)
index 08ff230..cdb8852 100644 (file)
@@ -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'])