evanphx / benchmark-ips

Provides iteration per second benchmarking for Ruby
MIT License
1.72k stars 97 forks source link

Reduce timer calls 2 #64

Closed kbrock closed 8 years ago

kbrock commented 8 years ago

This one is less convincing than the last, as it only removes 1 timer call per invocation and reasoning why before is used is a little confusing.

I've thought of this for a while, and just wanted to put it out there.

This depends upon #63 (in that PR, before will always be set on every iteration)