[commit: ghc] master: testsuite: Fix scc001 profile output (c3ccd83)

git at git.haskell.org git at git.haskell.org
Sat Feb 3 01:31:16 UTC 2018


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

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

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

commit c3ccd8356a8d50998ab3b9960f70a2f602dc03ca
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Feb 1 01:17:59 2018 -0500

    testsuite: Fix scc001 profile output
    
    CircleCI seems to suggest that the cost center ordering is wrong in the prof
    way. I'm beginning to wonder whether there is some non-determinism here. If only
    I know what this test was supposed to be testing.


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

c3ccd8356a8d50998ab3b9960f70a2f602dc03ca
 testsuite/tests/profiling/should_run/scc001.prof.sample | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/profiling/should_run/scc001.prof.sample b/testsuite/tests/profiling/should_run/scc001.prof.sample
index f2e55d5..8b33d6b 100644
--- a/testsuite/tests/profiling/should_run/scc001.prof.sample
+++ b/testsuite/tests/profiling/should_run/scc001.prof.sample
@@ -21,9 +21,9 @@ MAIN         MAIN                  <built-in>             111          0    0.0
  CAF         Main                  <entire-module>        221          0    0.0    0.0     0.0    0.6
   (...)      Main                  scc001.hs:16:1-16      227          1    0.0    0.0     0.0    0.0
   main       Main                  scc001.hs:(5,1)-(7,23) 222          1    0.0    0.5     0.0    0.5
+   h         Main                  scc001.hs:16:1-16      226          1    0.0    0.0     0.0    0.0
    f         Main                  scc001.hs:10:1-7       224          1    0.0    0.0     0.0    0.0
    g         Main                  scc001.hs:13:1-7       225          1    0.0    0.0     0.0    0.0
-   h         Main                  scc001.hs:16:1-16      226          1    0.0    0.0     0.0    0.0
  CAF         GHC.Conc.Signal       <entire-module>        216          0    0.0    1.3     0.0    1.3
  CAF         GHC.IO.Encoding       <entire-module>        206          0    0.0    5.4     0.0    5.4
  CAF         GHC.IO.Encoding.Iconv <entire-module>        204          0    0.0    0.4     0.0    0.4



More information about the ghc-commits mailing list