[rspec-users] Performance tests using Rspec

David Chelimsky dchelimsky at gmail.com
Thu Jan 27 22:02:09 EST 2011

On Jan 26, 2011, at 4:06 AM, Josep M. Bach wrote:

> A while ago, I was looking at Minitest's benchmarking capabilities (contained in a single file here) and I thought it would be great to have an equivalent in RSpec. They have methods to assert type of performance (linear, exponential...) of a given block. Looking at minitest's file it might be relatively trivial to implement, but the question is: do you think that would naturally fit in rspec-matchers, or in a separate rspec-benchmark gem/plugin?
> Personally I think it's a good piece of functionality and deserves being baked in RSpec, but I'm not sure if many people would actually use it. Thoughts? 

I'd like to see it in an extension gem first. We can always merge it in if it becomes a standard component. If not, it's just more stuff to maintain that nobody uses :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110127/67b1e7fd/attachment.html>

More information about the rspec-users mailing list