Average network timings on chrome i executed emulating chrome's regular 3G network:
gzip
- Time (in ms): 1376.8
- Latency (in ms): 1155.777778
- Data Receive Time (in ms): 277.1111111
Non compressed
- Time (in ms): 2220
- Latency (in ms): 1043.4
- Data Receive Time (in ms): 1176.6
I have calculated "Data Receive Time" as difference between Time and Latency because as per their definitions: Time is total duration, from the start of the request to the receipt of the final byte in the response. Latency is the time to load the first byte in the response.
I have few things that are not clear:
- Latency is less for non-compressed, almost by 10%. I see that because IIS would take some time in compressing in data that might have increased it. Opinion?
- What i don't understand is how using gzip the "Data Receive Time" is less?
I was assuming since client would receive compressed data, Un-Compress it and then render it. So this should have taken more time.
Without compression browser had to just receive data and render that.
So with compression we have one extra step of uncompressing and still time is lower. Anyone has explanation for this?