暫無描述

dosse91 f432f84e3a Added more troubleshooting 9 年之前
.editorconfig 3f06ab1381 improvements and new example (#29) 9 年之前
.gitignore 2254001aff Added customizable grace time at beginning of tests; GET parameters can now be used in the URLs in the settings; Minor changes 9 年之前
README.md 976412e802 Added donation info 9 年之前
doc.md f432f84e3a Added more troubleshooting 9 年之前
empty.php 23b188b3ce Improved ping/jitter test 9 年之前
example1.html 3f06ab1381 improvements and new example (#29) 9 年之前
example2.html ec61c14723 Fixed a problem with upload and ping test with nginx 9 年之前
example3.html 3f06ab1381 improvements and new example (#29) 9 年之前
example4.html ec61c14723 Fixed a problem with upload and ping test with nginx 9 年之前
example5.html 3f06ab1381 improvements and new example (#29) 9 年之前
example6.html 2254001aff Added customizable grace time at beginning of tests; GET parameters can now be used in the URLs in the settings; Minor changes 9 年之前
garbage.php fce6a67be0 Implemented multistream; Implemented jitter test; Implemented Fetch API (default disabled); Added more settings; Improved code quality; Improved accuracy; Added browser-specific optimizations; Added minified version; Expanded documentation; Some bug fixes 9 年之前
getIP.php e5612b4f10 Improved client IP detection; Updated examples 9 年之前
speedtest_worker.js a7011b2e99 Removed unused Fetch API support (may come back in future); Removed quirk for Safari, now treated as chromium-based browser 9 年之前
speedtest_worker.min.js a7011b2e99 Removed unused Fetch API support (may come back in future); Removed quirk for Safari, now treated as chromium-based browser 9 年之前

README.md

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 (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

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.