Skip to main content
Performance.measure - Performance - Web documentation
method Performance.measure
Private
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