From 034e01e4b0a92240883b125e2362457932e785cf Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 9 Nov 2016 10:58:57 +0000 Subject: Accept output for scc003 Looks like e3f341f334d89c88f388d8e864ed8762d0890a64 broke it, but we wouldn't have noticed because the test isn't run in validate. I think the change is OK. We don't get a tick for x' any more, because it is converted directly to a case instead of a let-binding, but we still get a tick for the "pattern binding" (!x'). This could be better - f.(...) isn't all that intuitive - but it's not strictly wrong. --- .../tests/profiling/should_run/scc003.prof.sample | 39 +++++++++++----------- 1 file changed, 19 insertions(+), 20 deletions(-) (limited to 'testsuite/tests') diff --git a/testsuite/tests/profiling/should_run/scc003.prof.sample b/testsuite/tests/profiling/should_run/scc003.prof.sample index b1c60e8199..c8090130fa 100644 --- a/testsuite/tests/profiling/should_run/scc003.prof.sample +++ b/testsuite/tests/profiling/should_run/scc003.prof.sample @@ -1,35 +1,34 @@ - Sat Jun 4 11:59 2016 Time and Allocation Profiling Report (Final) + Wed Nov 9 10:58 2016 Time and Allocation Profiling Report (Final) scc003 +RTS -hc -p -RTS - total time = 0.04 secs (35 ticks @ 1000 us, 1 processor) - total alloc = 48,704 bytes (excludes profiling overheads) + total time = 0.04 secs (38 ticks @ 1000 us, 1 processor) + total alloc = 48,784 bytes (excludes profiling overheads) COST CENTRE MODULE SRC %time %alloc fib Main scc003.hs:8:1-50 100.0 0.0 -MAIN MAIN 0.0 1.7 +MAIN MAIN 0.0 1.9 +CAF GHC.IO.Handle.FD 0.0 70.8 CAF GHC.IO.Encoding 0.0 5.7 CAF GHC.Conc.Signal 0.0 1.3 -CAF GHC.IO.Handle.FD 0.0 70.9 main Main scc003.hs:2:1-22 0.0 19.6 individual inherited COST CENTRE MODULE SRC no. entries %time %alloc %time %alloc -MAIN MAIN 44 0 0.0 1.7 100.0 100.0 - CAF Main 87 0 0.0 0.0 100.0 0.7 - main Main scc003.hs:2:1-22 88 1 0.0 0.6 100.0 0.7 - f Main scc003.hs:5:1-41 90 1 0.0 0.0 100.0 0.1 - f.(...) Main scc003.hs:5:11-21 91 1 0.0 0.0 0.0 0.0 - fib Main scc003.hs:8:1-50 92 21891 0.0 0.0 0.0 0.0 - f.\ Main scc003.hs:5:32-41 94 1 0.0 0.0 100.0 0.0 - fib Main scc003.hs:8:1-50 95 2692537 100.0 0.0 100.0 0.0 - f.x' Main scc003.hs:5:11-21 93 1 0.0 0.0 0.0 0.0 - CAF GHC.IO.Handle.FD 82 0 0.0 70.9 0.0 70.9 - CAF GHC.IO.Handle.Text 81 0 0.0 0.2 0.0 0.2 - CAF GHC.Conc.Signal 79 0 0.0 1.3 0.0 1.3 - CAF GHC.IO.Encoding 76 0 0.0 5.7 0.0 5.7 - CAF GHC.IO.Encoding.Iconv 63 0 0.0 0.5 0.0 0.5 - main Main scc003.hs:2:1-22 89 0 0.0 19.0 0.0 19.0 +MAIN MAIN 104 0 0.0 1.9 100.0 100.0 + CAF Main 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 + CAF GHC.Conc.Signal 201 0 0.0 1.3 0.0 1.3 + CAF GHC.IO.Encoding 191 0 0.0 5.7 0.0 5.7 + CAF GHC.IO.Encoding.Iconv 189 0 0.0 0.5 0.0 0.5 + CAF GHC.IO.Handle.FD 181 0 0.0 70.8 0.0 70.8 + CAF GHC.IO.Handle.Text 179 0 0.0 0.2 0.0 0.2 + main Main scc003.hs:2:1-22 209 0 0.0 19.0 0.0 19.0 -- cgit v1.2.1