Current time: 12-17-2017, 10:00 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bytes In Mismatch
06-18-2014, 02:04 AM
Post: #1
Bytes In Mismatch
Sometimes I notice a mismatch in the reported Bytes In at Document complete. When I add the "Bytes Downloaded" for each resource downloaded before document complete I expect the get the same number of KBs as listed in the Document Complete Bytes In column. However, sometimes this is not the case.

Take this test for example: http://www.webpagetest.org/result/140531...1/details/

The reported Bytes In at document complete is 557 KB. However, when I add the Bytes Downloaded for each resources downloaded before document complete I get ~471 KB.

Where are those ~86 KB coming from?

I am using the following JavaScript to add up all the number by the way:

Code:
var total = 0;
$('.reqBytes.oddRender, .reqBytes.evenRender, .reqBytes.oddDoc, .reqBytes.evenDoc,').each(function() {
    total += parseFloat( $(this).text() );
});
console.log(total);
Find all posts by this user
Quote this message in a reply
07-06-2014, 06:16 AM
Post: #2
RE: Bytes In Mismatch
I'll see if I can track it down. The overall bytes-in works by counting the bytes as they are read in from any socket for the duration of the test and it doesn't try to attribute them to any requests. The bytes for each request should be measured the same way (except for SSL on Chrome but that's not the case here) but it is attributed to each request as we parse the data.

There shouldn't be a discrepancy unless there is data being read in that we can't parse as a HTTP request (or there's a bug in some of the calculations).
Visit this user's website Find all posts by this user
Quote this message in a reply
07-09-2014, 02:11 AM
Post: #3
RE: Bytes In Mismatch
(07-06-2014 06:16 AM)pmeenan Wrote:  I'll see if I can track it down. The overall bytes-in works by counting the bytes as they are read in from any socket for the duration of the test and it doesn't try to attribute them to any requests. The bytes for each request should be measured the same way (except for SSL on Chrome but that's not the case here) but it is attributed to each request as we parse the data.

There shouldn't be a discrepancy unless there is data being read in that we can't parse as a HTTP request (or there's a bug in some of the calculations).

Awesome, thank you. If you need any more examples of the issue let me know.
Find all posts by this user
Quote this message in a reply
08-13-2014, 01:46 AM
Post: #4
RE: Bytes In Mismatch
This caught my attention because I am trying to work out the same issue!

Examples include http://www.webpagetest.org/result/140502_YM_JGS/ and http://www.webpagetest.org/result/140502_TJ_DQC/
Find all posts by this user
Quote this message in a reply
09-22-2014, 06:59 PM
Post: #5
RE: Bytes In Mismatch
Hello,
I have a same issues.
How can I understand this Bytes in Mismatch ?
Find all posts by this user
Quote this message in a reply
12-20-2014, 07:11 AM
Post: #6
RE: Bytes In Mismatch
Any update on this issue?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)