- (benchmark-run [iterations] ?code)syntax
Runs the ?code iterations times and returns an alist with the following keys:
- min - the minimum runtime of all iterations in microseconds
- max - the maximum runtime of all iterations in microseconds
- mean - the average runtime of all iterations in microseconds
- standard-deviation - the sample standard deviation for the given runtimes
If iterations is not given then curren-benchmark-iterations is used.