Bench

bench

defn

(λ [(λ [] a)] ())

                    (bench f)
                

benchmarks the function f and prints the results to stdout.

set-min-runs!

defn

(λ [Int] ())

                    (set-min-runs! n)
                

sets the minimum number of runs to n.

If your functions takes a large amount of time, experimenting with this might make sense. The default value is 50, which means that your function runs at least 50 times before even hitting a timeout.