The takeRecords method returns a copy of the performance entries in the PerformanceObserver’s buffer, and also clears this buffer. This aligns PerformanceObserver with other *Observer implementations, like MutationObserver and IntersectionObservers, which have similar methods.
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 65
- Chrome for Android release 65
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
Owners
Last updated on 2020-11-09