evanphx / benchmark-ips

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

add example to help illustrate hold usage answering issue #86

Closed danmayer closed 6 years ago

danmayer commented 6 years ago

issue: https://github.com/evanphx/benchmark-ips/issues/85

I was a bit confused on how to use this feature as well and googled to try to find usage... I ended up finding this GH issue so I read over the source until I understood how to use it. I think adding a file to the examples folder would be helpful to folks first looking at the library.

ddnexus commented 6 years ago

Thanks