logo       

[GHC] #950: Timing stats in GHCi don't work: msg#00144

lang.haskell.glasgow.bugs

Subject: [GHC] #950: Timing stats in GHCi don't work

#950: Timing stats in GHCi don't work
-------------------------+--------------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
The GHCi `set +s` flag doesn't give sensibel timings:
{{{
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.

Loading package base ... linking ... done.
[1 of 3] Compiling Primes ( Primes.hs, interpreted )
[2 of 3] Compiling ContFrac ( ContFrac.hs, interpreted )
[3 of 3] Compiling Euler44 ( Euler44.hs, interpreted )
Ok, modules loaded: Euler44, ContFrac, Primes.
*Euler44> :set +s
*Euler44> smallest
(2167,1020,2395,1912)
(0.02 secs, 910618996 bytes)
*Euler44>
}}}
The run actually took 23 seconds.

Reported by daniel.is.fischer@xxxxxx

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/950>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise