-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspeedTest.conf.php
49 lines (46 loc) · 1.25 KB
/
speedTest.conf.php
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
<?php
define( 'LATENCY_ROUNDS', 5 ); //How many time do the latency test for server
define( 'TIMEOUT_LATENCY', 5 ); //Timeout for latency request
define( 'TIMEOUT_UPLOAD_DOWNLOAD', 1000 ); //Timeout for download/upload requests
define( 'SERVER_LIST_URL',"http://c.speedtest.net/speedtest-servers-static.php"); //Url to retrieve the servers list
$maxDistance = 100; //Max distance in km used by servers filter when you don't specify the location
$tmpdir = '/tmp/'; //temp folder used to download test files
$downloadSizes = array( //Specify the size for download images, it download one image for size
// 350,
// 500,
// 750,
// 1000,
// 1500,
// 2000,
2500,
// 3000,
// 3500,
// 4000,
);
$uploadSizes = array( //Specify the size for upload file, it automatic create it if needed.
// "500K",
// "1M",
// "2M",
// "4M",
"10M",
);
$smallDownloadSizes = array( //Specify the size for download images for small test, it download one image for size
// 350,
// 500,
// 750,
1000,
// 1500,
// 2000,
// 2500,
// 3000,
// 3500,
// 4000,
);
$smallUploadSizes = array( //Specify the size for upload file for small test, it automatic create it if needed.
// "500K",
// "1M",
"2M",
// "4M",
// "10M",
);
?>