1// GENERATED CONTENT - DO NOT EDIT 2// Content was automatically extracted by Reffy into webref 3// (https://github.com/w3c/webref) 4// Source: User Timing Level 3 (https://w3c.github.io/user-timing/) 5 6dictionary PerformanceMarkOptions { 7 any detail; 8 DOMHighResTimeStamp startTime; 9}; 10 11dictionary PerformanceMeasureOptions { 12 any detail; 13 (DOMString or DOMHighResTimeStamp) start; 14 DOMHighResTimeStamp duration; 15 (DOMString or DOMHighResTimeStamp) end; 16}; 17 18partial interface Performance { 19 PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions = {}); 20 undefined clearMarks(optional DOMString markName); 21 PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions = {}, optional DOMString endMark); 22 undefined clearMeasures(optional DOMString measureName); 23}; 24 25[Exposed=(Window,Worker)] 26interface PerformanceMark : PerformanceEntry { 27 constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {}); 28 readonly attribute any detail; 29}; 30 31[Exposed=(Window,Worker)] 32interface PerformanceMeasure : PerformanceEntry { 33 readonly attribute any detail; 34}; 35