You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @return The timestamp, measured in milliseconds, accurate to one thousandth of a millisecond.
79
79
*/
80
80
now(): number;
81
+
82
+
/**
83
+
* Removes the given mark from the browser's performance entry buffer.
84
+
*
85
+
* @param {string} [markName] A DOMString representing the name of the timestamp. If this argument is omitted, all performance entries with an entry type of "mark" will be removed.
86
+
* @memberof IPerformance
87
+
*/
88
+
clearMarks(markName?: string): void;
89
+
90
+
/**
91
+
* Removes the given measure from the browser's performance entry buffer.
92
+
*
93
+
* @param {string} [measureName] A DOMString representing the name of the timestamp. If this argument is omitted, all performance entries with an entry type of "measure" will be removed.
94
+
* @memberof IPerformance
95
+
*/
96
+
clearMeasures(measureName?: string): void;
97
+
98
+
/**
99
+
* Returns a list of PerformanceEntry objects based on the given name and entry type.
100
+
*
101
+
* @param {string} name The name of the entry to retrieve
102
+
* @param {string} [entryType] The type of entry to retrieve such as "mark". The valid entry types are listed in PerformanceEntry.entryType.
* Returns a list of PerformanceEntry objects of the given entry type.
110
+
*
111
+
* @param {string} entryType The type of entry to retrieve such as "mark". The valid entry types are listed in PerformanceEntry.entryType.
112
+
* @returns {*}
113
+
* @memberof IPerformance
114
+
*/
115
+
getEntriesByType(entryType: string): any;
116
+
117
+
/**
118
+
* Creates a timestamp in the browser's performance entry buffer with the given name.
119
+
*
120
+
* @param {string} markName a DOMString representing the name of the mark
121
+
* @memberof IPerformance
122
+
*/
123
+
mark(markName: string): void;
124
+
125
+
/**
126
+
* Creates a named timestamp in the browser's performance entry buffer between two specified marks (known as the start mark and end mark, respectively).
127
+
*
128
+
* @param {string} measureName a DOMString representing the name of the measure.
129
+
* @param {string} [startMarkName] A DOMString representing the name of the measure's starting mark. May also be the name of a PerformanceTiming property.
130
+
* @param {string} [endMarkName] A DOMString representing the name of the measure's ending mark. May also be the name of a PerformanceTiming property.
0 commit comments