Profiling might help, as it lists the slowest examples at the end of  
the run.  Create a file spec/spec.opts and put this in it:

--format profile

See here for more details:

http://pragmatig.wordpress.com/2008/08/27/profiling-rspec/

Justin


On 20/03/2009, at 4:18 PM, Torm3nt wrote:

> Hey all!
>
> Hope everyone is up to something this weekend, weather is looking  
> good (at least in Sydney =P)
>
> I currently work on a couple of projects, all utilising rspec/ 
> selenium.etc. 2 of our projects run very fast in terms of running  
> tests, however one is very slow, and I can't for the life of me  
> figure out why. Is there any way to benchmark your tests so as to  
> find the bottleneck? The project in question is one of our smallest,  
> and yet it runs 2-3x slower than the others.
>
> Any ideas?
>
>
> Kirk
>
> >


---
Justin French
[email protected]
http://justinfrench.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to