[Haskell-cafe] Timing execution of individual functions in ghci?
Daniel Trstenjak
daniel.trstenjak at gmail.com
Thu Oct 23 14:35:36 UTC 2014
Hi Magnus,
> Given that all I'm interested in is relative timings it might even be
> enough to do a rough comparison of two implementations too.
Optimizations - especially in Haskell - can change the runtime behaviour
quite dramatically. So comparing the runtime performance without turned
on optimizations is pretty much pointless.
Meaningful benchmarking is hard and adding any kind of uncertainty
doesn't make it in any way easier.
Greetings,
Daniel
More information about the Haskell-Cafe
mailing list