Haskell function execution time

Simplest things is to just do :set +s in ghci, and then you can see the execution time of anything you run, along with memory usage.


The criterion package was made specifically to do this well.