[commit: ghc] master: Update various performance benchmarks (194107e)

git at git.haskell.org git at git.haskell.org
Mon Jul 14 11:03:19 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/194107ea9333c1d9d61abf307db2da6a699847af/ghc

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

commit 194107ea9333c1d9d61abf307db2da6a699847af
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon Jul 14 13:02:07 2014 +0200

    Update various performance benchmarks
    
    I started monitoring perfomance on a per-commit base. These seem to be
    off for a while now. Adjusting them, and from now I hope I can keep
    closer tabs on them.


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

194107ea9333c1d9d61abf307db2da6a699847af
 testsuite/tests/perf/compiler/all.T   | 11 +++++++----
 testsuite/tests/perf/haddock/all.T    | 16 +++++++++-------
 testsuite/tests/perf/should_run/all.T |  4 +++-
 3 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T
index 3851eef..ba2ebd5 100644
--- a/testsuite/tests/perf/compiler/all.T
+++ b/testsuite/tests/perf/compiler/all.T
@@ -120,7 +120,7 @@ test('T3294',
              # 2013-02-10 20772984 (x86/OSX)
              # 2013-11-13 24009436 (x86/Windows, 64bit machine)
              # 2014-04-24 19882188 (x86/Windows, 64bit machine)
-           (wordsize(64), 43224080, 15)]),
+           (wordsize(64), 40000000, 15)]),
              # prev:           25753192 (amd64/Linux)
              # 29/08/2012:     37724352 (amd64/Linux)
              #  (increase due to new codegen, see #7198)
@@ -130,6 +130,8 @@ test('T3294',
              #  (reason for decrease unknown)
              # 29/5/2013:      43224080  (amd64/Linux)
              #  (reason for increase back to earlier value unknown)
+             # 2014-07-14:     36670800  (amd64/Linux)
+             #  (reason unknown, setting expected value somewhere in between)
 
       compiler_stats_num_field('bytes allocated',
           [(wordsize(32), 1377050640, 5),
@@ -404,12 +406,13 @@ test('T6048',
             # prev:       38000000 (x86/Linux)
             # 2012-10-08: 48887164 (x86/Linux)
             # 2014-04-04: 62618072 (x86 Windows, 64 bit machine)
-           (wordsize(64), 110646312, 12)])
-             # 18/09/2012 97247032 amd64/Linux
+           (wordsize(64), 125431448, 12)])
+             # 18/09/2012  97247032 amd64/Linux
              # 16/01/2014 108578664 amd64/Linux (unknown, likely foldl-via-foldr)
-             # 18/01/2014 95960720 amd64/Linux Call Arity improvements
+             # 18/01/2014  95960720 amd64/Linux Call Arity improvements
              # 28/02/2014 105556793 amd64/Linux (unknown, tweak in base/4d9e7c9e3 resulted in change)
              # 05/03/2014 110646312 amd64/Linux Call Arity became more elaborate
+             # 14/07/2014 125431448 amd64/Linux unknown reason. Even worse in GHC-7.8.3. *shurg*
       ],
       compile,[''])
 
diff --git a/testsuite/tests/perf/haddock/all.T b/testsuite/tests/perf/haddock/all.T
index cafe738..647a562 100644
--- a/testsuite/tests/perf/haddock/all.T
+++ b/testsuite/tests/perf/haddock/all.T
@@ -60,7 +60,7 @@ test('haddock.base',
 test('haddock.Cabal',
      [unless(in_tree_compiler(), skip)
      ,stats_num_field('peak_megabytes_allocated',
-          [(wordsize(64), 278, 10)
+          [(wordsize(64), 309, 10)
             # 2012-08-14: 202 (amd64/Linux)
             # 2012-08-29: 211 (amd64/Linux, new codegen)
             # 2012-09-20: 227 (amd64/Linux)
@@ -68,6 +68,7 @@ test('haddock.Cabal',
             # 2013-06-07: 246 (amd64/Linux) (reason unknown)
             # 2013-11-21: 269
             # 2013-11-22: 278 (amd64/Linux) (TH refactoring; weird)
+	    # 2014-07-14: 309 (amd64/Linux)
           ,(platform('i386-unknown-mingw32'), 144, 10)
             # 2012-10-30:                      83 (x86/Windows)
             # 2013-02-10:                     116 (x86/Windows)
@@ -80,12 +81,13 @@ test('haddock.Cabal',
            # 2014-01-22: 139 (x86/Linux - new haddock, but out of date before)
            # 2014-06-29: 147 (x86/Linux)
      ,stats_num_field('max_bytes_used',
-          [(wordsize(64), 95356616, 15)
-            # 2012-08-14: 74119424 (amd64/Linux)
-            # 2012-08-29: 77992512 (amd64/Linux, new codegen)
-            # 2012-10-02: 91341568 (amd64/Linux)
-            # 2012-10-08: 80590280 (amd64/Linux)
-            # 2013-03-13: 95356616 (amd64/Linux) Cabal updated
+          [(wordsize(64), 113232208, 15)
+            # 2012-08-14:  74119424 (amd64/Linux)
+            # 2012-08-29:  77992512 (amd64/Linux, new codegen)
+            # 2012-10-02:  91341568 (amd64/Linux)
+            # 2012-10-08:  80590280 (amd64/Linux)
+            # 2013-03-13:  95356616 (amd64/Linux) Cabal updated
+            # 2014-07-14: 113232208 (amd64/Linux)
           ,(platform('i386-unknown-mingw32'), 63493200, 15)
             # 2012-10-30: 44224896 (x86/Windows)
             # 2013-11-13: 49391436 (x86/Windows, 64bit machine)
diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T
index 4fa77a5..e9e7ef3 100644
--- a/testsuite/tests/perf/should_run/all.T
+++ b/testsuite/tests/perf/should_run/all.T
@@ -371,7 +371,9 @@ test('InlineCloneArrayAlloc',
 test('T9203',
      [stats_num_field('bytes allocated',
                       [ (wordsize(32), 50000000, 5)
-                      , (wordsize(64), 95747304, 5) ]),
+                      , (wordsize(64), 42946176, 5) ]),
+                      # previously: 95747304
+                      # 2014-07-14: 42946176 (amd64/Linux)
       only_ways(['normal'])],
      compile_and_run,
      ['-O2'])



More information about the ghc-commits mailing list