I'm running NewRelic as well, but any statistics in there only
accounts for the first 320ms.
How do I find out what is eating up the additional 500ms? It's driving
me absolutely nuts, because it didn't always do this. I'm wondering if
it's the amount of gems we use (currently around 30 or so).
I suspect rails reloads all my gems or something like that, as
fs_usage shows a bunch of activity on those files. Is there any way to
make rails cache everything between page requests but the actual code?
I’m not sure how tied you are to rails 2.3.5 and ruby 1.8, but possibly use this as an opportunity to upgrade to the current standard tech? Ruby 1.9.2 is pretty much rock solid, and rails 3.0.3 is running very very well now.
As for local development time, what kind of system are you running this on, and has it always been this slow? I’m disappointed to see more than 100ms response times on my local dev environment, even running WEBrick (because I tend to be too lazy to change “rails s”) and I’m only on a poor Athlon X2 QL-65 on my laptop, which is little better than a Celeron.