rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Leandro Camargo <leandroico@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: How to profile all before filters in Rails controller?
Date: Mon, 5 Oct 2015 09:52:18 -0700 (PDT)	[thread overview]
Message-ID: <c2406f36-3070-4cbc-88cc-db9117f09ee8@googlegroups.com> (raw)


[-- 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 --]

             reply	other threads:[~2015-10-05 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 16:52 Leandro Camargo [this message]
2015-10-12 16:42 ` How to profile all before filters in Rails controller? James Tucker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2406f36-3070-4cbc-88cc-db9117f09ee8@googlegroups.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).