We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be5a500 commit 0624b37Copy full SHA for 0624b37
doc/api/perf_hooks.md
@@ -1339,6 +1339,14 @@ for (let n = 0; n < 3; n++)
1339
performance.mark(`test${n}`);
1340
```
1341
1342
+### `performanceObserver.takeRecords()`
1343
+
1344
+<!-- YAML
1345
+added: v16.0.0
1346
+-->
1347
1348
+Gets the current list of {PerformanceEntry} objects stored in the performance observer, emptying it out.
1349
1350
## Class: `PerformanceObserverEntryList`
1351
1352
<!-- YAML
0 commit comments