Liking cljdoc? Tell your friends :D

c3kit.apron.bench


benchclj/smacro

(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.
raw docstring

elapsed-timeclj/smacro

(elapsed-time & body)

Evaluates the body and returns the elapsed time in milliseconds.

Evaluates the body and returns the elapsed time in milliseconds.
raw docstring

millis-nowclj/s

(millis-now)

millis-sinceclj/s

(millis-since millis-start)

performancecljs

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close