timeit-1.0.0.0: Time a computation

System.TimeIt

Synopsis

Documentation

timeIt :: IO a -> IO aSource

Wrap an IO computation so that it prints out the execution time.

timeItT :: IO a -> IO (Double, a)Source

Wrap an IO computation so that it returns execution time is seconds as well as the real value.