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

Method mark

src/service/performance-impl.js:843–845  ·  view source on GitHub ↗

* Add browser performance timeline entries for simple ticks. * These are for example exposed in WPT. * See https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark * @param {string} label

(label)

Source from the content-addressed store, hash-verified

841 * @param {string} label
842 */
843 mark(label) {
844 this.win.performance.mark?.(label);
845 }
846
847 /**
848 * Tick a very specific value for the label. Use this method if you

Callers 2

tickMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected