[rspec-users] auto-generated descriptions

David Chelimsky dchelimsky at gmail.com
Fri Jul 4 16:45:48 EDT 2008

Hey all,

I'm looking for ways to optimize rspec and came upon something  
interesting. If I remove handling for auto-generated descriptions (the  
thing that allows you to say "specify { 5.should == 5 }" with no  
description string) we get an average 35% performance increase per  
expectation. 35%. That's huge.

So - how bad do you think this would suck to remove that feature? Are  
you using it yourself?

All thoughts welcome.


More information about the rspec-users mailing list