MCPcopy
hub / github.com/ampproject/amphtml / getPerformanceMarks

Function getPerformanceMarks

test/unit/test-performance.js:561–565  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

559 }
560
561 function getPerformanceMarks() {
562 return win.performance
563 .getEntriesByType('mark')
564 .map((entry) => entry.name);
565 }
566
567 beforeEach(() => {
568 viewer = Services.viewerForDoc(ampdoc);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected