I use Google Chrome to analyze the performance of some webpage that using Javascript dynamically load scripts and other resources.
I use the performance.getEntries()
method, but I noticed that Chrome records only the first 150 resources. I could not find any way to get more entries, or to remove old entries.
I saw that the performance object has methods like clearMeasures
or clearMarks
, but I failed to use them for removing entries.
So my questions are:
You can try
performance.webkitSetResourceTimingBufferSize(your_number);
For what it's worth, in Firefox, you can use
performance.setResourceTimingBufferSize(your_number);
For full list of browsers and their support for window.performance
, see http://compatibility.shwups-cms.ch/en/home?&property=performance
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With