rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* How to profile all before filters in Rails controller?
@ 2015-10-05 16:52 Leandro Camargo
  2015-10-12 16:42 ` James Tucker
  0 siblings, 1 reply; 2+ messages in thread
From: Leandro Camargo @ 2015-10-05 16:52 UTC (permalink / raw)
  To: Rack Development


[-- Attachment #1.1: Type: text/plain, Size: 929 bytes --]

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

-- 

--- 
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1288 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to profile all before filters in Rails controller?
  2015-10-05 16:52 How to profile all before filters in Rails controller? Leandro Camargo
@ 2015-10-12 16:42 ` James Tucker
  0 siblings, 0 replies; 2+ messages in thread
From: James Tucker @ 2015-10-12 16:42 UTC (permalink / raw)
  To: Rack Development

[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]

Probably better to ask a rails mailinglist.

On Mon, Oct 5, 2015, 1:34 PM Leandro Camargo <leandroico@gmail.com> wrote:

> 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
>
> --
>
> ---
> 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+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 2139 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-12 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 16:52 How to profile all before filters in Rails controller? Leandro Camargo
2015-10-12 16:42 ` James Tucker

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).