benchmarking - How to benchmark functions in Clojure? -
I know that the function can take time to evaluate the time function / macro on screen / stdout.
The time gives the value of the macro evaluation function, which makes it great to use inline though I want to automatically scale runtime in specific circumstances.
Is there a function that gives time spent in some libraries to help with this benchmarking?
From README:
P> Criterion measures the calculation time of an expression.This includes:
- Statistical processing of several evaluations
<- Designed to allow JIT compiler to customize its code
- The accuracy of GC prior to testing, to isolate time from GC state before testing
- a
Comments
Post a Comment