Where is this time being spent?


#1

In this example below, where exactly is that first 1132ms being spent? Is that just time spent in Rails around getting to the page and then the rendering of the view template? Is there any way to break that time down more to see, say, which methods are causing the lag?

thx!

alt text


#2

My guess is that it is somewhere in the rack chain. Probably Rack::Lock, if you install the stacktrace gem and do a pp=backtrace you should see a sampling of some of the stack traces.