The duration
read-only property returns a double that contains the server-specified metric duration, or value 0.0
.
Syntax
serverTiming.duration;
Specifications
Specification | Status | Comment |
Server TimingThe definition of 'duration' in that specification. | Working Draft | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Chrome
Full support 65 |
Edge
Full support ≤79 |
Firefox
Full support 61 |
IE
No support No |
Opera
Full support 52 |
Safari
? |
WebView Android
Full support 65 |
Chrome Android
Full support 65 |
Firefox Android
Full support 61 |
Opera Android
Full support 47 |
Safari iOS
? |
Samsung Internet Android
Full support 9.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.'
- Experimental. Expect behavior to change in the future.
See also
PerformanceServerTiming.duration by Mozilla Contributors is licensed under CC-BY-SA 2.5.