How to compare the time-efficiency of Haskell functions?