
5 Feb
2007
5 Feb
'07
2:58 p.m.
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. Thanks Neil