timeit-1.0.0.0: Time a computation
Safe HaskellSafe
LanguageHaskell98

System.TimeIt

Synopsis

Documentation

timeIt :: IO a -> IO a Source #

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.