hasDroppedEntry in PerformanceObserver's observe()
- Category
- Performance
- Type
- Chromium catches up
- Status
- No active development (Chrome No active development)
- Intent stage
- None
Summary
Currently, web developers can use PerformanceObserver with buffered flag to listen to past and future performance entries about their site. However, past entries need to be stored, and there is a buffer size limit. The hasDroppedEntry boolean property helps developers know if they may have lost an entry due to this storage being full. It's set to true when there exists an entryType being observed for which an entry got dropped from the buffer due to such buffer being full.
Standards & signals
- Specification: https://w3c.github.io/performance-timeline/#dom-performanceobservercallback
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1114172
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=hasdroppedentry-in-performanceobserver-s-observe
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+hasDroppedEntry%20in%20PerformanceObserver's%20observe()
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=hasDroppedEntry%20in%20PerformanceObserver's%20observe()
- Baseline status: https://webstatus.dev/?q=hasDroppedEntry%20in%20PerformanceObserver's%20observe()