rspec-benchmark v0.4.0 with complexity matchers!
The newest rspec-benchmark adds computational complexity matchers such as perform_linear
or perform_loagarithmic
to help you establish the asymptotic behaviour of your code in a test suite. It will also allow you to generate a range of test inputs for your benchmark using in_range
matcher. Enjoy!
Post a comment