(bench n & body)
Test how long a body will take to execute.
This will only (do body)
. If you need to realize
all results in a sequence, wrap your body in a doall
.
Body is executed n times.
Test how long a body will take to execute. This will only `(do body)`. If you need to realize all results in a sequence, wrap your body in a `doall`. Body is executed n times.
(elapsed-time & body)
Evaluates the body and returns the elapsed time in milliseconds.
Evaluates the body and returns the elapsed time in milliseconds.
(millis-now)
(millis-since millis-start)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close