How to profile all before filters in Rails controller?

31 views
Skip to first unread message

Leandro Camargo

unread,
Oct 5, 2015, 4:34:05 PM10/5/15
to Rack Development
Hello.

I'm not sure if this is the right place to ask this, but I believe so, ATM.
I'm basically using rack-mini-profiler to detect some bottlenecks in my application.
I use New Relic to check response times of the web transactions (requests).

But what I want now is to profile some critical pieces of my code. And I want to start with
the controllers' before filter methods. I'd like to wrap up all of them (even though they might
vary for each action and controller) and measure their response time, using the NR's gem
method called add_method_tracer.

Anyone has good recommendations on best way to achieve that?

-- Leandro

James Tucker

unread,
Oct 12, 2015, 12:42:23 PM10/12/15
to Rack Development

Probably better to ask a rails mailinglist.


--

---
You received this message because you are subscribed to the Google Groups "Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages