web front-end loading performance testing

web front-end loading performance testing

Browser console input: performance.getEntriesByType ( 'Navigation') , can be detected page load and performance data of loaded




among them:

DNS queries by using the time-consuming domainLookupEnd - domainLookupStart is equivalent dns query time

TCP link time-consuming by connectEnd - connectStart

HTTP request by consuming responseEnd - responseStart 
Dom consuming parse tree by domComplete - domInteractive
White screen time by responseStart - navigationStart
DOMready time by domContentLoadedEventEnd - navigationStart
onload time by loadEventEnd - navigationStart that is, the time onload callback function to execute

Guess you like

Origin www.cnblogs.com/jinziguang/p/12061137.html