f669b56f98
* add support to disable specific tests when pass "-1" * add checkbox on example7.html & remove unnecessary codes in js |
||
---|---|---|
.editorconfig | ||
.gitignore | ||
doc.md | ||
empty.php | ||
example1.html | ||
example2.html | ||
example3.html | ||
example4.html | ||
example5.html | ||
example6.html | ||
example7.html | ||
garbage.php | ||
getIP.php | ||
README.md | ||
speedtest_worker.js | ||
speedtest_worker.min.js |
HTML5 Speedtest
No Flash, No Java, No Websocket, No Bullshit.
This is a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.
Try it
Compatibility
Only modern browsers are supported (IE11, latest Edge, latest Chrome, latest Firefox, latest Safari)
Requirements
- A reasonably fast web server. PHP is optional but recommended (see doc.md for details)
- Some way to generate garbage data (PHP script included, see doc.md for other solutions)
- Your server must accept large POST requests (up to 20 Megabytes), otherwise the upload test will fail
- It's also better if your server does not use compression, but it's not mandatory
Quick installation videos
Also, here's an example config on Ubuntu 16 LTS
How to use in your site
See the examples or doc.md
Docker
Please see the docker
branch
Donate
If you want to support this project, you can send a donation via PayPal.
License
Copyright (C) 2016-2017 Federico Dossena
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/lgpl.