[Haskell-cafe] Timing execution of individual functions in ghci?

Magnus Therning magnus at therning.org
Wed Oct 22 10:05:57 UTC 2014


When playing around with various implementations of a single function
it would be nice to time the execution.  Is there some way to do that
easily from within GHCi?

Or am I forced to look to criterion for that?

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more
fun, and it comes without a 30-day, money-back guarantee.
     -- Steve McConnell, Code Complete 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141022/886d3d56/attachment.sig>


More information about the Haskell-Cafe mailing list