Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

How to get details about average time for items inside DOM processing and page rendering


#1

I am investigating slow page load issue for some pages. It turns out that most of the time during page load is spent on page rendering and then second biggest consumer is DOM processing. I want to get some details for page rendering and DOM processing. For example, if we have a products page, I want to know which piece of js code consumes average how long. Is it possible to get these average numbers through NRQL for specific pages?
Thanks.

Sample NRQL query I used: SELECT average(duration), average(webAppDuration), average(networkDuration), average(domProcessingDuration), average(pageRenderingDuration) FROM PageView FACET pageUrl where appName=‘Tile WWW Web Server Production’ since 1 week ago limit 100

I want to get more details for domProcessingDuration and pageRenderingDuration.


#2

Hi, @robert.cui1: You may use session traces to see what is consuming time during the various phases of page loading. Unfortunately, New Relic Browser does not profile JavaScript execution time; you may want to use Google Chrome dev tools to measure JS performance on your local machine.