Back to Content

PerformanceScriptTiming: pauseDuration property

files/en-us/web/api/performancescripttiming/pauseduration/index.md

latest857 B
Original Source

{{SeeCompatTable}}{{APIRef("Performance API")}}

The pauseDuration read-only property of the {{domxref("PerformanceScriptTiming")}} interface returns a {{domxref("DOMHighResTimeStamp")}} indicating the total time, in milliseconds, spent by the script on "pausing" synchronous operations (for example, {{domxref("Window.alert()")}} calls or synchronous {{domxref("XMLHttpRequest")}}s).

Value

A {{domxref("DOMHighResTimeStamp")}}.

Examples

See Long animation frame timing for examples related to the Long Animation Frames API.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also