On 15/12/10 9:52 AM, dnagir wrote:
Hi Guys,
I am a bit tired of waiting for for the [rails 3] specs to run after I
save a file. After saving, I have to wait 10 secs or so for my specs
only to be executed (by autotest).
Same problem, no great solution. #1 thing I hate about rails atm.
I use this to speed up rake spec, which is a bit of a hack:
http://rhnh.net/2010/09/07/speeding-up-rails-rake
Xavier
It is just a bit annoying, so I did:
time rspec spec/
...
Finished in 9.68 seconds
95 examples, 0 failures
real 0m19.518s
user 0m17.810s
sys 0m0.970s
This sounds like the tests themselves are fast enough, but the startup
time is about 10 secs.
I heard a lot that bundling the dependencies and booting rails takes
the most of time.
Unfortunately I was not able to find an easy solution to speed it up,
except spork.
Can somebody recommend what we can do about it?
Cheers,
Dima.
http://ApproachE.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.