On Wed, Mar 17, 2010 at 1:59 PM, Pete Yandell <p...@notahat.com> wrote:

>
> Has anyone done any profiling on their Rails app tests to work out
> where the time goes? I've always wondered how much of the time testing
> Rails apps is wasted on the database syncing disk writes, etc. If you
> threw your test database on a ramdisk, how much performance would you
> gain?
>
>
I tried this once on our application (8min rspec runtime) and it made no
difference.
 A) I have a SSD drive
 B) I don't use Swap

I suspect that because the transactions aren't committed that they never hit
the disk anyway.

This is with Oracle, other DB's may behave differently.

Cheers,

Anthony

-- 
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 rails-ocea...@googlegroups.com.
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to