Question Where is this time being spent?

 
  • Created:11 months ago
  • Status:open

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

 

1 Answers

votes newest oldest
 
  • Created:11 months ago

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.