evanphx / benchmark-ips

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

Quiet mode #36

Closed kirs closed 9 years ago

kirs commented 9 years ago

With the quite keyword argument we can disable the output.

This feature is quite needed for ruby-bench and Rails: https://github.com/ruby-bench/ruby-bench-suite/pull/8/files#diff-9c2f5a1dd03f27a99f4330ee96d77d1fR81

kirs commented 9 years ago

If everything is OK with the idea, I will add some tests. /cc @evanphx

evanphx commented 9 years ago

Please use "quiet=false", not the ruby 2.2 only syntax.

kirs commented 9 years ago

@evanphx done! Also tests added.