A while ago, I was looking at Minitest's benchmarking capabilities 
(contained in a single file 
here<https://github.com/seattlerb/minitest/blob/master/lib/minitest/benchmark.rb>)
 
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? 
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to