- Last Updated: [[2020-12-08]] - [[Network bandwidth throttling]] [[Network bandwidth]] - Networks have varying speeds ([[Network bandwidth]]). Below is a list that attempts to express these differences in upload and download speeds for each network in terms of bits per second. - Note that these values actually calculate __BYTES__ per second, not bits, which is why there's a `/ 8` at the end of each line. However, network bandwidth is more commonly expressed in bps. - ```javascript let NETWORK_PRESETS = { 'GPRS': { 'offline': false, 'downloadThroughput': 50 * 1024 / 8, 'uploadThroughput': 20 * 1024 / 8, 'latency': 500 }, 'Regular2G': { 'offline': false, 'downloadThroughput': 250 * 1024 / 8, 'uploadThroughput': 50 * 1024 / 8, 'latency': 300 }, 'Good2G': { 'offline': false, 'downloadThroughput': 450 * 1024 / 8, 'uploadThroughput': 150 * 1024 / 8, 'latency': 150 }, 'Regular3G': { 'offline': false, 'downloadThroughput': 750 * 1024 / 8, 'uploadThroughput': 250 * 1024 / 8, 'latency': 100 }, 'Good3G': { 'offline': false, 'downloadThroughput': 1.5 * 1024 * 1024 / 8, 'uploadThroughput': 750 * 1024 / 8, 'latency': 40 }, 'Regular4G': { 'offline': false, 'downloadThroughput': 4 * 1024 * 1024 / 8, 'uploadThroughput': 3 * 1024 * 1024 / 8, 'latency': 20 }, 'DSL': { 'offline': false, 'downloadThroughput': 2 * 1024 * 1024 / 8, 'uploadThroughput': 1 * 1024 * 1024 / 8, 'latency': 5 }, 'WiFi': { 'offline': false, 'downloadThroughput': 30 * 1024 * 1024 / 8, 'uploadThroughput': 15 * 1024 * 1024 / 8, 'latency': 2 } }``` - Source: https://fdalvi.github.io/blog/2018-02-05-puppeteer-network-throttle/