tjb*_*tjb 26
这是 Robroi2000 的答案截图中的值的 csv
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
Run Code Online (Sandbox Code Playgroud)
小智 23
Phi*_*lip 19
我在互联网上进行了两次速度测试.通过以下自定义配置文件,我获得了与预设相似的下载速度和ping延迟.
慢速3G定制:下载376 kb/s,延迟2000 ms
快速3G定制:下载1500 kb/s = 1.5 Mb/s,延迟= 550 ms
通过速度测试测量的实际下载速度仅略低于配置值.测量的ping延迟是自定义配置文件中配置的值的一半.
Tha*_*hai 15
来自 Chrome DevTools 的源代码,这里是预设:
/** @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,
};
Run Code Online (Sandbox Code Playgroud)
对于想知道在连接上下载/上传 1 MB 需要多长时间的人,以下是基于Roboroi 屏幕截图的结果
\n下载 1 MB 的时间
\n(1MB = 8Mb = 1024 Bytes = 8192 bits)
CONNECTION TYPE DOWNLOAD_TIME UPLOAD TIME\n\nRegular 2G (250Kb/s\xe2\xac\x87 50Kb/s\xe2\xac\x86) -> 33s 163 (2m 43s)\nGood 2G (450Kb/s\xe2\xac\x87 150Kb/s\xe2\xac\x86) -> 18s 54s\nRegular 3G (750Kb/s\xe2\xac\x87 250Kb/s\xe2\xac\x86) -> 11s 32s\nGood 3G (1Mb/s\xe2\xac\x87 750Kb/s\xe2\xac\x86) -> 8s 11s\nRegular 4G (4Mb/s\xe2\xac\x87 3Mb/s\xe2\xac\x86) -> 2s 3s\nWifi (30Mb/s\xe2\xac\x87 15Mb/s\xe2\xac\x86) -> 0.27s 0.53s\n
Run Code Online (Sandbox Code Playgroud)\n
归档时间: |
|
查看次数: |
5830 次 |
最近记录: |