Current time: 11-27-2020, 01:31 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with first byte time
01-07-2012, 04:57 AM
Post: #4
RE: Need help with first byte time
Go to app server->web transactions and pick the entry point you are interested in (index.php?), click on it and then select "performance breakdown" on the right.

If you need visibility into specific functions in your PHP you can also tell New Relic to instrument those. Here is an example of what I did in my thumbnail generation code to track down the expensive areas:

Code:
if(extension_loaded('newrelic')) {
    newrelic_add_custom_tracer('tbnDrawWaterfall');
    newrelic_add_custom_tracer('tbnDrawChecklist');
    newrelic_add_custom_tracer('GenerateThumbnail');
    newrelic_add_custom_tracer('SendImage');
    newrelic_add_custom_tracer('getRequests');
    newrelic_add_custom_tracer('loadPageRunData');
}
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Need help with first byte time - mnovick - 01-07-2012, 02:31 AM
RE: Need help with first byte time - pmeenan - 01-07-2012 04:57 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)