chrome dev-tools network throttling seems slower than setting

时间:2016-04-04 18:33:02

标签: google-chrome google-chrome-devtools bandwidth-throttling

When using chrome dev tools, the network throttling functionality seems to simulate a slower connection than the kb/s down setting defines.

For example when simulating with the preset of 50kb/s for GPRS and downloading a 256kb file, chrome shows the file taking a total of 42.89 sec for the content download. Yet, 256 / 50 would come to 5.12 seconds. Am I missing something here?

Thanks for reading, -cybo

1 个答案:

答案 0 :(得分:1)

互联网连接速度以千比特而不是千字节来衡量,以描述连接速度。这解释了你得到的价值和你期望的价值之间的8倍差异。

这是另一个例子,下载181千字节的StackOverflow sprites文件。

50kb / s是6.25KB / s。我们希望下载采用181KB / (6.25KB/s) = 28.96s,它与28.83s的实际值非常匹配。

Throttled network connection timing