I have an application running 3.0.9 and I’m trying to make sense of
the request benchmark numbers. For example, this line:
Completed 200 OK in 17800ms (Views: 46.6ms | ActiveRecord: 334.6ms)
My understanding from the past is that the difference between the
total time and the combination of Views and ActiveRecord would be
filter and controller processing. But in this case there is no
processing like that. The only thing that would be slow should be
various ActiveRecord calls. So are there cases where ActiveRecord
calls are not being added to the ActiveRecord time in the logs?
Then I’ve got entries like this, where the total time is less than
Views + ActiveRecord:
Completed 200 OK in 215ms (Views: 212.6ms | ActiveRecord: 1597.9ms)
So what’s up with this? I checked the rails issues on github but
couldn’t find anything so I thought I’d see if anyone else is getting
similar numbers or has more information.