Timing Stats in ghci-6.6

Daniel Fischer daniel.is.fischer at web.de
Mon Oct 23 05:36:56 EDT 2006


Repost, seems to have been lost last week:

Am Dienstag, 17. Oktober 2006 12:35 schrieb Simon PJ:
> What timing?  Can you be more explicit pls?
>
Just plain old

:set +s

in ghci:
dafis at linux:~/Downloads/Euler> ghci Euler44
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      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>

Actually took 23 secs.

Built it yesterday from source bundle on linux.

Oh, and by the way, I've never managed to get the users-guide built.
Is that intentional or would that just require some xml-processing
functionality I haven't installed (if so: which)?

Cheers,
Daniel

> Simon
>
> | -----Original Message-----
> | From: glasgow-haskell-users-bounces at haskell.org
>
> [mailto:glasgow-haskell-users-
>
> | bounces at haskell.org] On Behalf Of Daniel Fischer
> | Sent: 17 October 2006 10:04
> | To: GHC Users
> | Subject: Timing Stats in ghci-6.6
> |
> | Hi,
> |
> | apparently the timing doesn't work properly in ghci 6.6 (at least for
>
> me), I
>
> | always get very small timings, usually 0.01 secs, sometimes 0.00 secs,
>
> once
>
> | 0.07 secs, no matter how long it actually took.
> |
> | Is that a common problem or is it only me?
> |
> | Cheers,
> | Daniel
> | _______________________________________________
> | Glasgow-haskell-users mailing list
> | Glasgow-haskell-users at haskell.org
> | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list