MCPcopy Create free account
hub / github.com/ampproject/amphtml / measure.js

File measure.js

testing/amp-performance-extension/measure.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1let cumulativeLayoutShift, largestContentfulPaint, longTasks;
2let measureStarted; // eslint-disable-line @typescript-eslint/no-unused-vars
3
4function renderMeasurement(container, label, count) {

Callers

nothing calls this directly

Calls 11

measureLongTasksFunction · 0.85
measureCLSFunction · 0.85
measureTimeToInteractiveFunction · 0.85
addStyleStringFunction · 0.85
renderMeasurementFunction · 0.85
getMaxFirstInputDelayFunction · 0.85
getMetricFunction · 0.70
setIntervalFunction · 0.50
addEventListenerMethod · 0.45
setAttributeMethod · 0.45

Tested by

no test coverage detected