In chrome dev tools, what is the speed of each preset option for network throttling?

浪尽此生 提交于 2021-01-20 18:47:33

问题


Since a recent update to chrome, the presets are no longer labelled with bandwidth.

Chrome used to list the actual speed of each one so you could simply tell.

What bandwidth or latency do the options here represent?


回答1:


I did some measurements with two speed tests available in the internet. With the following custom profile I received similar download speed and ping latency as with the presets.

Slow 3G Custom: Download 376 kb/s, Latency 2000 ms
Fast 3G Custom: Download 1500 kb/s = 1.5 Mb/s, Latency = 550 ms

The actually download speed measured via the speed tests was only slightly below the configured values. The measured ping latency was half of the value configured in the custom profile.




回答2:


Here is an old screenshot with the details




回答3:


Here is a csv of the values in the screenshot from Robroi2000's answer

Preset,download(kb/s),upload(kb/s),RTT(ms)
GPRS,50,20,500
Regular 2G,250,50,300
Good 2G,450,150,150
Regular 3G,750,250,100
Good 3G, 1000,750,40
Regular 4G, 4000,3000,20
DSL 2000, 1000,5
WiFi 30000,150000,2



回答4:


From Chrome DevTools’ source code, here are the presets:

/** @type {!Conditions} */
export const OfflineConditions = {
  title: Common.UIString.UIString('Offline'),
  download: 0,
  upload: 0,
  latency: 0,
};

/** @type {!Conditions} */
export const Slow3GConditions = {
  title: Common.UIString.UIString('Slow 3G'),
  download: 500 * 1024 / 8 * .8,
  upload: 500 * 1024 / 8 * .8,
  latency: 400 * 5,
};

/** @type {!Conditions} */
export const Fast3GConditions = {
  title: Common.UIString.UIString('Fast 3G'),
  download: 1.6 * 1024 * 1024 / 8 * .9,
  upload: 750 * 1024 / 8 * .9,
  latency: 150 * 3.75,
};


来源:https://stackoverflow.com/questions/48367042/in-chrome-dev-tools-what-is-the-speed-of-each-preset-option-for-network-throttl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!