WebPagetest Forums
Bandwidth utilization - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Bandwidth utilization (/showthread.php?tid=14141)



Bandwidth utilization - sharma.divyank - 12-31-2015 08:51 PM

I wanted to know how bandwidth utilization is calculated for a run, I was running wpt for a website and after the DOM Content Loaded event, there's a pause in Bandwidth utilization from 100% to almost 0, what could be the possible reason for that, because it was still downloading few requests.

http://www.webpagetest.org/result/151221_2Z_CWK/1/details/

Also does js execution halts downloading for time being?

Thanks,
Divyank


RE: Bandwidth utilization - pmeenan - 01-06-2016 02:30 AM

WPT watches for reads from the network from the browser and every 100ms it logs how much data was read. JS execution shouldn't block downloads themselves from continuing but if it executes for a while it may block the browser from continuing to read the data. In that case the data is still likely buffering in the network stack in the OS though and the browser will catch up.

If you want to see how the data is flowing more accurately you can capture a tcpdump and plot out the actual packet flow.


RE: Bandwidth utilization - sharma.divyank - 01-08-2016 03:07 PM

Thanks for your prompt reply and guidance.