diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 0eca76ed9842..fc8c484019a9 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -1091,6 +1091,54 @@ changes: The high resolution millisecond timestamp representing the time immediately before Node.js receives the first byte of the response from the server. +### `performanceResourceTiming.finalResponseHeadersStart` + + + +* Type: {number} + +The high resolution millisecond timestamp representing the time immediately +after Node.js receives the first byte of the final response, +as opposed to an interim response. + +### `performanceResourceTiming.firstInterimResponseStart` + + + +* Type: {number} + +The high resolution millisecond timestamp representing the time immediately +after Node.js receives the first byte of the first interim response, such as +a `103 Early Hints` response. + +### `performanceResourceTiming.responseStart` + + + +* Type: {number} + +The high resolution millisecond timestamp representing the time immediately +after Node.js receives the first byte of the response from the server. This +is `firstInterimResponseStart` when it is non-zero, and +`finalResponseHeadersStart` otherwise. + ### `performanceResourceTiming.responseEnd` + +* Type: {string} + +The render blocking status of the resource. It is either `'blocking'` or `'non-blocking'`. + +### `performanceResourceTiming.contentType` + + + +* Type: {string} + +The minimized MIME type of the content of the fetched resource, or an empty +string if it cannot be determined. + +### `performanceResourceTiming.contentEncoding` + + + +* Type: {string} + +The content encoding of the fetched resource, such as `'gzip'` or `'br'`. + ### `performanceResourceTiming.toJSON()`