
22 Oct
2014
22 Oct
'14
6:48 a.m.
Hi Magnus,
When playing around with various implementations of a single function it would be nice to time the execution. Is there some way to do that easily from within GHCi?
ghci normally only interprets your code, without much optimizations, so your timings might be quite misleading.
Or am I forced to look to criterion for that?
I think so, if you want to trust your timings. Greetings, Daniel