(no subject)

Neil Mitchell ndmitchell at gmail.com
Mon Feb 5 14:58:14 EST 2007

Hi Tays,

> I did at my master thesis a compiler that generates Haskell code. Now I need
> to measure the execution time of my generated code and I've been searched
> and I don't know if I'm looking with the wrong keywords but I could not find
> anything. I just need to measure the time of simple functions, like
> Ackermann and Fibonacci. Does anyone know how to measure the execution time
> of a Haskell program or function?

Does the unix command "time" not work? (if you are on windows I have a
variant from Bulat that does the same on Windows)

The CPUTime module also has some useful bits.



More information about the Glasgow-haskell-users mailing list