WebPagetest Forums
Bug - Comparer - Size of file comparison - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Bug - Comparer - Size of file comparison (/showthread.php?tid=14328)



Bug - Comparer - Size of file comparison - nukecola - 05-13-2016 03:45 PM

Ref:
http://www.webpagetest.org/video/compare.php?tests=160513_FE_C3M%2C160513_AR_C3N&thumbSize=200&ival=500&end=visual

Please refer to the attached image.

Total size: CS2>CS1
For every type of file sizes: CS2 <= CS1

Regards,
Ming


RE: Bug - Comparer - Size of file comparison - pmeenan - 05-17-2016 11:29 PM

The two are measured at different places and the "Total" is the ground truth. It is measured at the socket level and counts all of the bytes in/out as they are transmitted/read. The content-type breakdown takes the sized for each decoded request and adds them up but it will be missing anything it can't identify (bug), TLS certificates/overhead and possibly a few other things that don't come to mind.