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

Brandon Allbery allbery.b at gmail.com
Wed Oct 22 10:14:10 UTC 2014

On Wed, Oct 22, 2014 at 6:05 AM, Magnus Therning <magnus at therning.org>

> 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?

:set +s (possibly also +r;

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141022/9f8d2ca4/attachment.html>

More information about the Haskell-Cafe mailing list