chickadee » micro-benchmark » benchmark-ips

(benchmark-ips [seconds] ?code)syntax

Determines how many times one can run the given ?code per second and returns an alist with the following keys:

  • mean - the mean amount iterations we can make per second
  • standard-deviation - the sample standard deviation for the given iterations

If seconds is not given then it defaults to 5.