Updated doc.md

This commit is contained in:
dosse91 2017-07-19 08:10:10 +02:00
parent f669b56f98
commit 6e1a199a31

10
doc.md
View file

@ -1,7 +1,7 @@
# HTML5 Speedtest # HTML5 Speedtest
> by Federico Dossena > by Federico Dossena
> Version 4.2.8, July 16 2017 > Version 4.2.9, July 19 2017
> [https://github.com/adolfintel/speedtest/](https://github.com/adolfintel/speedtest/) > [https://github.com/adolfintel/speedtest/](https://github.com/adolfintel/speedtest/)
@ -129,8 +129,6 @@ If you want, you can change these settings and pass them to the worker as JSON w
w.postMessage('start {"param1": "value1", "param2": "value2", ...}') w.postMessage('start {"param1": "value1", "param2": "value2", ...}')
``` ```
Pass "-1" to disable specific tests
#### Test parameters #### Test parameters
* __time_dl__: How long the download test should be in seconds. The test will continue regardless of this limit if the speed is still 0.00 when the limit is reached. * __time_dl__: How long the download test should be in seconds. The test will continue regardless of this limit if the speed is still 0.00 when the limit is reached.
* Default: `15` * Default: `15`
@ -141,17 +139,21 @@ Pass "-1" to disable specific tests
* __count_ping__: How many pings to perform in the ping test * __count_ping__: How many pings to perform in the ping test
* Default: `35` * Default: `35`
* Recommended: `>=20` * Recommended: `>=20`
* __url_dl__: path to garbage.php or a large file to use for the download test * __url_dl__: path to garbage.php or a large file to use for the download test.
* Default: `garbage.php` * Default: `garbage.php`
* The string "-1" disables the test
* __Important:__ path is relative to js file * __Important:__ path is relative to js file
* __url_ul__: path to an empty file or empty.php to use for the upload test * __url_ul__: path to an empty file or empty.php to use for the upload test
* Default: `empty.php` * Default: `empty.php`
* The string "-1" disables the test
* __Important:__ path is relative to js file * __Important:__ path is relative to js file
* __url_ping__: path to an empty file or empty.php to use for the ping test * __url_ping__: path to an empty file or empty.php to use for the ping test
* Default: `empty.php` * Default: `empty.php`
* The string "-1" disables the test
* __Important:__ path is relative to js file * __Important:__ path is relative to js file
* __url_getIp__: path to getIP.php or replacement * __url_getIp__: path to getIP.php or replacement
* Default: `getIP.php` * Default: `getIP.php`
* The string "-1" disables the test
* __Important:__ path is relative to js file * __Important:__ path is relative to js file
#### Advanced test parameters #### Advanced test parameters