'resourcetimingbufferfull' 事件


当全局性能资源计时缓冲区已满时会触发 'resourcetimingbufferfull' 事件。 使用 performance.setResourceTimingBufferSize() 调整资源计时缓冲区大小或在事件监听器中使用 performance.clearResourceTimings() 清除缓冲区,以允许将更多条目添加到性能时间线缓冲区。

The 'resourcetimingbufferfull' event is fired when the global performance resource timing buffer is full. Adjust resource timing buffer size with performance.setResourceTimingBufferSize() or clear the buffer with performance.clearResourceTimings() in the event listener to allow more entries to be added to the performance timeline buffer.