diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 4822ca331ee9ce..295267f195836f 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -43,6 +43,14 @@ added: v8.5.0 An object that can be used to collect performance metrics from the current Node.js instance. It is similar to [`window.performance`][] in browsers. +### `performance.toJSON()` + + +An object which is JSON representation of the `performance` object. It +is similar to [`window.performance.toJSON`][] in browsers. + ### `performance.clearMarks([name])`