diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index de0265d0f89f27..0bdf8626f476a7 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -1330,6 +1330,14 @@ for (let n = 0; n < 3; n++) performance.mark(`test${n}`); ``` +### `performanceObserver.takeRecords()` + + + +* Returns: {PerformanceEntry\[]} Current list of entries stored in the performance observer, emptying it out. + ## Class: `PerformanceObserverEntryList`