# Benchmarks

## How does it work

http://stackoverflow.com/questions/4986245/how-does-jsperf-work

## Number of iterations to run

`Benchmark.js` figures out the right number of iterations to run automatically
and adjusts accordingly.

## How to interpret results

```
Todo.find x 46.07 ops/sec ±1.82% (74 runs sampled)
```

46.07 operations per second with ±1.82% [relative margin of error](https://github.com/bestiejs/benchmark.js/blob/master/benchmark.js#L1970-L1971) when run 74 times.


## Resources

- http://monsur.hossa.in/2012/12/11/benchmarkjs.html
- http://calendar.perfplanet.com/2010/bulletproof-javascript-benchmarks/
- http://stackoverflow.com/questions/4986245/how-does-jsperf-work
