Higher residency in Haddock
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 22 Nov 2013 16:42:43 +0000 (16:42 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 22 Nov 2013 16:42:57 +0000 (16:42 +0000)
I think there really is a slight worsening in the situation here, but
it needs someone to build a profiled compiler and take a proper look.
There isn't anything obvious in what I've done, which mainly concerns
Template Haskell and hence should not affect Haddock.

Strange, annoying, but I'm going to live with it.

testsuite/tests/perf/haddock/all.T

index 26c31d7..00c307c 100644 (file)
@@ -47,12 +47,14 @@ test('haddock.base',
 test('haddock.Cabal',
      [unless(in_tree_compiler(), skip)
      ,stats_num_field('peak_megabytes_allocated',
-          [(wordsize(64), 246, 10)
+          [(wordsize(64), 278, 10)
             # 2012-08-14: 202 (amd64/Linux)
             # 2012-08-29: 211 (amd64/Linux, new codegen)
             # 2012-09-20: 227 (amd64/Linux)
             # 2012-10-08: 217 (amd64/Linux)
             # 2013-06-07: 246 (amd64/Linux) (reason unknown)
+            # 2013-11-21: 269
+            # 2013-11-22: 278 (amd64/Linux) (TH refactoring; weird)
           ,(platform('i386-unknown-mingw32'), 116, 1)
             # 2012-10-30:                      83 (x86/Windows)
             # 2013-02-10:                     116 (x86/Windows)
@@ -106,12 +108,14 @@ test('haddock.compiler',
             # 2012-08-14: 631 (x86/OSX)
             # 2013-02-10: 663 (x86/OSX)
      ,stats_num_field('max_bytes_used',
-          [(wordsize(64), 477593712, 10)
+          [(wordsize(64), 541926264, 10)
             # 2012-08-14: 428775544 (amd64/Linux)
             # 2012-09-20: 437618008 (amd64/Linux)
             # 2012-10-08: 442768280 (amd64/Linux)
             # 2012-11-12: 420105120 (amd64/Linux)
             # 2013-06-08: 477593712 (amd64/Linux) (reason unknown)
+            # 2013-11-21: 502920176 (amd64/Linux)
+            # 2013-11-22: 541926264 (amd64/Linux) (TH refactoring; weird)
           ,(platform('i386-unknown-mingw32'), 238529512, 1)
             # 2012-10-30:                     220847924 (x86/Windows)
             # 2013-02-10:                     238529512 (x86/Windows)