[rspec-users] auto-generated descriptions

Ashley Moran ashley.moran at patchspace.co.uk
Mon Jul 7 14:47:14 EDT 2008


On Jul 04, 2008, at 9:45 pm, David Chelimsky wrote:

> 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?

I was aware of it but never felt the need to use it

Ashley


-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/



More information about the rspec-users mailing list