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