Skip to content
Parashuram N edited this page Jul 9, 2014 · 13 revisions

The following metrics are measured. The tool is modular and other custom metrics can be added.

[Work in progress, filling this up now]

Chrome Timeline Metrics

These metrics are obtained from the Chrome Developer Tools timeline. They are the same metrics you see in the timeline when a web page is profiled.

Name Unit Description
CompositeLayers ms The time spent compositing rendering layers into a screen image
DecodeImage ms The time spent decoding images
EvaluateScript ms The time spent evaluating the page's scripts
EventDispatch ms The time spent executing event handlers
FireAnimationFrame ms The time spent handling scheduled animation frame events
FunctionCall ms The time spent executing calls to top-level Javascript functions
GCEvent ms The time spent doing garbage collection during script execution
Layout ms The time spent on (re)flow, or constructing the rendering tree from the DOM tree
Paint ms The time spent rasterizing the page into bitmaps
PaintSetup ms The time spent converting DOM elements into a display list of drawing commands to paint
ParseHTML ms The time spent executing the engine's HTML parsing algorithm
Program ms The total time for all actions to render the page
RecalculateStyles ms The time spent recalculating element styling, when a reflow occurs
TimerFire ms The time spent executing timer-triggered handlers
XHRReadyStateChange ms The time spent handling handling changes to the ready state of XMLHTTPRequest's

RafBenchmarkingRenderingStats

Name Unit
droppedFrameCount count
numFramesSentToScreen count
numAnimationFrames count

RuntimePerfMetrics

Name Unit
Layers count
PaintedArea_total sq pixels
PaintedArea_avg sq pixels
NodePerLayout_avg count
ExpensivePaints count
GCInsideAnimation count
ExpensiveEventHandlers count

NavTimingMetrics

These are calculated from window.performance.timing API in NavTimingMetrics. For more information about each metric, please the W3C Specification

Name Unit
fetchStart ms
domainLookupStart ms
domainLookupEnd ms
connectStart ms
connectEnd ms
requestStart ms
responseStart ms
domLoading ms
domInteractive ms
domContentLoadedEventStart ms
domContentLoadedEventEnd ms
domComplete ms
loadEventStart ms
loadEventEnd ms

Clone this wiki locally