#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 [EMAIL PROTECTED]

-- 
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
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to