We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74a54eb commit 3c2444aCopy full SHA for 3c2444a
doc/api/perf_hooks.md
@@ -1330,6 +1330,14 @@ for (let n = 0; n < 3; n++)
1330
performance.mark(`test${n}`);
1331
```
1332
1333
+### `performanceObserver.takeRecords()`
1334
+
1335
+<!-- YAML
1336
+added: v16.0.0
1337
+-->
1338
1339
+* Returns: {PerformanceEntry\[]} Current list of entries stored in the performance observer, emptying it out.
1340
1341
## Class: `PerformanceObserverEntryList`
1342
1343
<!-- YAML
0 commit comments