Performance.measure - Web documentation
method Performance.measure
Performance.measure(
measureName: string,
): PerformanceMeasure

Stores the DOMHighResTimeStamp duration between two marks along with the associated name (a "measure").

Parameters

measureName: string
optional
options: PerformanceMeasureOptions

Return Type

Performance.measure(
measureName: string,
startMark?: string,
endMark?: string,
): PerformanceMeasure

Stores the DOMHighResTimeStamp duration between two marks along with the associated name (a "measure").

Parameters

measureName: string
optional
startMark: string
optional
endMark: string

Return Type