事件:'resourcetimingbufferfull'
【Event: '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.】