I am making an API call which on completion gives a summary of how much
time was consumed to make the ActiveRecord Queries to the DB and Render
the views as a JSON Response. I am using Rails 3.2.11 .

Here's a sample of the response time usage:-

Completed 200 OK in 629ms (Views: 354.9ms | ActiveRecord: 112.8ms)

If I add up the times taken to make the DB call and render the Json
response(I am using Json builder), they sum upto:- 467.7ms. Can anyone
please tell me where the remaining time of 161.3 ms(629 - 467.7) could
have been utilized. Is there a gem I can use in my Rails app to track
the same ?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to