Update outputs of T12962, scc003
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Tue, 30 Jan 2018 18:49:03 +0000 (13:49 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 30 Jan 2018 18:49:04 +0000 (13:49 -0500)
- T12962: just fix function locations
- scc003: reorder cost centres, cost centre `f.(...)` renamed to `f.x'`

Reviewers: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14704

Differential Revision: https://phabricator.haskell.org/D4351

testsuite/tests/profiling/should_run/T12962.prof.sample
testsuite/tests/profiling/should_run/scc003.prof.sample

index 025e9e0..228a92d 100644 (file)
@@ -11,9 +11,9 @@ MAIN        MAIN             <built-in>           0.0    1.2
 CAF         GHC.IO.Handle.FD <entire-module>      0.0   60.5
 CAF         GHC.IO.Encoding  <entire-module>      0.0    4.8
 CAF         GHC.Conc.Signal  <entire-module>      0.0    1.1
-foo         Main             T12962.hs:8:1-21     0.0    2.8
-niz3        Main             T12962.hs:12:1-27    0.0   20.9
-blah        Main             T12962.hs:15:1-22    0.0    8.3
+foo         Main             T12962.hs:12:1-21    0.0    2.8
+niz3        Main             T12962.hs:16:1-27    0.0   20.9
+blah        Main             T12962.hs:19:1-22    0.0    8.3
 
 
                                                                         individual      inherited
@@ -21,12 +21,12 @@ COST CENTRE  MODULE                SRC               no.     entries  %time %all
 
 MAIN         MAIN                  <built-in>        110          0    0.0    1.2     0.0  100.0
  CAF         Main                  <entire-module>   219          0    0.0    0.0     0.0   32.1
-  blah       Main                  T12962.hs:15:1-22 223          1    0.0    8.3     0.0    8.3
-  main       Main                  T12962.hs:17:1-47 220          1    0.0    0.0     0.0   23.8
-   niz3      Main                  T12962.hs:12:1-27 222          1    0.0   20.9     0.0   23.7
-    foo      Main                  T12962.hs:8:1-21  224        100    0.0    2.8     0.0    2.8
+  blah       Main                  T12962.hs:19:1-22 223          1    0.0    8.3     0.0    8.3
+  main       Main                  T12962.hs:21:1-47 220          1    0.0    0.0     0.0   23.8
+   niz3      Main                  T12962.hs:16:1-27 222          1    0.0   20.9     0.0   23.7
+    foo      Main                  T12962.hs:12:1-21 224        100    0.0    2.8     0.0    2.8
  CAF         GHC.Conc.Signal       <entire-module>   214          0    0.0    1.1     0.0    1.1
  CAF         GHC.IO.Encoding       <entire-module>   204          0    0.0    4.8     0.0    4.8
  CAF         GHC.IO.Encoding.Iconv <entire-module>   202          0    0.0    0.3     0.0    0.3
  CAF         GHC.IO.Handle.FD      <entire-module>   194          0    0.0   60.5     0.0   60.5
- main        Main                  T12962.hs:17:1-47 221          0    0.0    0.0     0.0    0.0
+ main        Main                  T12962.hs:21:1-47 221          0    0.0    0.0     0.0    0.0
index c809013..d65b875 100644 (file)
@@ -22,10 +22,10 @@ MAIN        MAIN                  <built-in>        104          0    0.0    1.9
  CAF        Main                  <entire-module>   207          0    0.0    0.0   100.0    0.7
   main      Main                  scc003.hs:2:1-22  208          1    0.0    0.6   100.0    0.7
    f        Main                  scc003.hs:5:1-41  210          1    0.0    0.0   100.0    0.1
-    f.(...) Main                  scc003.hs:5:11-21 211          1    0.0    0.0     0.0    0.0
-     fib    Main                  scc003.hs:8:1-50  212      21891    0.0    0.0     0.0    0.0
     f.\     Main                  scc003.hs:5:32-41 213          1    0.0    0.0   100.0    0.0
      fib    Main                  scc003.hs:8:1-50  214    2692537  100.0    0.0   100.0    0.0
+    f.x'    Main                  scc003.hs:5:11-21 211          1    0.0    0.0     0.0    0.0
+     fib    Main                  scc003.hs:8:1-50  212      21891    0.0    0.0     0.0    0.0
  CAF        GHC.Conc.Signal       <entire-module>   201          0    0.0    1.3     0.0    1.3
  CAF        GHC.IO.Encoding       <entire-module>   191          0    0.0    5.7     0.0    5.7
  CAF        GHC.IO.Encoding.Iconv <entire-module>   189          0    0.0    0.5     0.0    0.5