Skip to content

Commit

Permalink
Update files/en-us/web/api/performance_api/server_timing/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: dawei-wang <[email protected]>
  • Loading branch information
Elchi3 and dawei-wang authored Mar 23, 2023
1 parent c3f6bab commit c36ae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/performance_api/server_timing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Trailer: Server-Timing
Server-Timing: total;dur=123.4
```

To calculate real server-side metrics, consult the documentation of your server-side CMS, framework, or programming language for how to measure performance within the backend application. If your server uses Node.js, the performance measurement APIs will look very familiar to the Performance API in browsers as the Node.js performance module is a subset of the W3C Web Performance APIs as well as additional APIs for Node.js-specific performance measurements. See the [Node.js performance documentation] (https://nodejs.org/api/perf_hooks.html#performance-measurement-apis) for more information.
To calculate real server-side metrics, consult the documentation of your server-side CMS, framework, or programming language for how to measure performance within the backend application. If your server uses Node.js, the performance measurement APIs will look very familiar to the Performance API in browsers as the Node.js performance module is a subset of the W3C Web Performance APIs as well as additional APIs for Node.js-specific performance measurements. See the [Node.js performance documentation](https://nodejs.org/api/perf_hooks.html#performance-measurement-apis) for more information.

Note that there is no clock synchronization between the server, the client and any intermediate proxies. This means that if your server sends timestamps or a `startTime` it might not meaningfully map to the {{domxref("PerformanceEntry.startTime", "startTime")}} of the clients timeline.

Expand Down

0 comments on commit c36ae6c

Please sign in to comment.