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
The final forced GC after the trial to estimate the effect of cleaning on time results

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -