-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprofiles.js
58 lines (57 loc) · 1.07 KB
/
profiles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module.exports = [
{
name: 'GPRS',
bandwidth: 50,
rtt: 500
},
{
name: 'Regular 2G',
bandwidth: 250,
rtt: 300
},
{
name: 'Good 2G',
bandwidth: 450,
rtt: 150
},
{
name: 'Regular 3G',
bandwidth: 750,
rtt: 100
},
{
name: 'Good 3G',
bandwidth: 1000,
rtt: 40
},
{
name: 'Regular 4G',
bandwidth: 4000,
rtt: 20
},
// Based on Ofcom's research into the bandwidth and latency of 4G and 3G
// networks in the UK in 2015
// (see http://stakeholders.ofcom.org.uk/market-data-research/other/telecoms-research/broadband-speeds/mobile-bb-april-15/).
//
// Currently, PiNC doesn't support configuring download and upload bandwidth.
// As it's more likely that the user is downloading via PiNC, use the download
// bandwidth.
{
name: '4G (UK)',
bandwidth: 14.7,
// bandwidth: {
// download: 14.7,
// upload: 13.6
//},
rtt: 53.1
},
{
name: '3G (UK)',
bandwidth: 5.9,
// bandwidth: {
// download: 5.9,
// upload: 1.6
//},
rtt: 63.5
}
]