HTML5 speed test with PHP/MySQL result storage
Find a file
Federico Dossena 0e83593adb Merge pull request #19 from ke-mccormick/patch-1
Outputs Client IP in JSON (Requires PHP server)
2017-02-26 11:28:40 +01:00
empty.dat First commit 2016-03-04 12:48:09 +01:00
example1.html Now using JSON for handling settings; Minor changes 2016-10-23 19:47:55 +02:00
example2.html Now using JSON for handling settings; Minor changes 2016-10-23 19:47:55 +02:00
example3.html Now using JSON for handling settings; Minor changes 2016-10-23 19:47:55 +02:00
example4.html Fixed a bug with Firefox 51; Precision improvements to compensate HTTP overhead 2017-02-05 09:51:15 +01:00
garbage.php Points to new domain 2017-02-02 08:05:42 +01:00
getIP.php Outputs Client IP in JSON 2017-02-26 04:13:26 -06:00
README.md Points to new domain 2017-02-02 08:05:42 +01:00
speedtest_worker.js More aggressive stopping of XHR requests 2017-02-26 08:26:42 +01:00

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

Take a Speedtest

Compatibility

Only modern browsers are supported (Edge 12+)

Requirements

  • A reasonably fast web server
  • Some way to generate garbage data using either the included PHP script, a big file of random data, or a symlink to /dev/urandom
  • Your server must accept large POST requests (up to 10 Megabytes), otherwise the upload test will fail
  • Client side, there must not be any type of buffering (such as a proxy), or you may get incorrect results
  • It's also better if your server does not use compression, but it's not mandatory

How to use

See the examples, it's really simple.

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.