function buffer_full(event) {
if (performance === undefined) {
console.log("Performance interface NOT supported.");
return;
}
// Remove all of the resource timing entries
performance.clearResourceTimings();
// Set the new size at 200 resource timing entries (PerformanceEntry objects)
performance.setResourceTimingBufferSize(200);
}
<body onresourcetimingbufferfull="buffer_full(event)">
Thanks! Please check your inbox to confirm your subscription.
If you haven’t previously confirmed a subscription to a Mozilla-related newsletter you may have to do so. Please check your inbox or your spam filter for an email from us.