How to benchmark functions in clojure

Posted by Peter Tillemans on Stack Overflow See other posts from Stack Overflow or by Peter Tillemans
Published on 2010-06-14T22:07:55Z Indexed on 2010/06/14 22:12 UTC
Read the original article Hit count: 197

Filed under:
|

I know I can get the time take to evaluate a function can be printed out on the screen/stdout using the time function/macro.

The time macro returns the value of the evaluated function, which makes it great to use it inline. However I want to automatically measure the runtime under specific circumstances.

is there a function which returns the elapsed time in some library to hep with this benchmarking?

© Stack Overflow or respective owner

Related posts about clojure

Related posts about benchmarking