[rspec-users] Better visualizations of spec running time besides --profile?

Julian Leviston julian at leviston.net
Wed Aug 31 21:40:34 EDT 2011


<cough> Concurrency?

Julian

On 01/09/2011, at 8:06 AM, John Feminella wrote:

> We have about 2,000 specs in a Rails app that take roughly 80 seconds
> to run, and I'm trying to improve the performance of things a bit.
> 
> While the profile mode has proven useful so far, it only shows the top
> ten slowest specs. Unfortunately, we have lot of specs, and we've
> picked off all the low-hanging fruit -- the ones remaining are all <
> ~0.1 sec or less. I'd like to streamline things further by seeing if
> there's a way to get information about slow spec *files* (not just
> individual specs), because I suspect that slower specs will be next to
> other slow specs.
> 
> Any ideas about how I can get this information, or do I need to roll
> my own benchmarker?
> 
> ~ jf
> --
> John Feminella
> Principal Consultant, BitsBuilder
> LI: http://www.linkedin.com/in/johnxf
> SO: http://stackoverflow.com/users/75170/
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list