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

前端 未结 4 1002
轻奢々
轻奢々 2021-02-06 20:50

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.

W

相关标签:
4条回答
  • 2021-02-06 21:30

    Here is an old screenshot with the details

    0 讨论(0)
  • 2021-02-06 21:41

    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,
    };
    
    0 讨论(0)
  • 2021-02-06 21:47

    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
    
    0 讨论(0)
  • 2021-02-06 21:49

    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.

    0 讨论(0)
提交回复
热议问题