测速站点

adolfintel 4b54e4b388 Minor improvement to jitter test 7 years ago
results 52e91f9054 Fix results image for jitter (#158) 7 years ago
telemetry 0954c6a6ac Speedtest worker now outputs status as JSON for easier parsing; Removed partial CSV implementation; Updated examples and documentation 7 years ago
.editorconfig 3f06ab1381 improvements and new example (#29) 8 years ago
.gitignore fb57393303 Updated README.md 7 years ago
README.md 7c24e3cc5e Updated README.md and doc.md 7 years ago
doc.md b509c832e2 Minor improvement to ping test; Bumped version to 4.6.2 7 years ago
empty.php 23b188b3ce Improved ping/jitter test 8 years ago
example-basic.html 0954c6a6ac Speedtest worker now outputs status as JSON for easier parsing; Removed partial CSV implementation; Updated examples and documentation 7 years ago
example-chart.html 02f29a76ff Fixed atrocious typo 7 years ago
example-customSettings.html 02f29a76ff Fixed atrocious typo 7 years ago
example-customSettings2.html 02f29a76ff Fixed atrocious typo 7 years ago
example-gauges.html 02f29a76ff Fixed atrocious typo 7 years ago
example-pretty.html 02f29a76ff Fixed atrocious typo 7 years ago
example-progressBar.html 02f29a76ff Fixed atrocious typo 7 years ago
example-telemetry-resultSharing.html 02f29a76ff Fixed atrocious typo 7 years ago
example-telemetryEnabled.html 02f29a76ff Fixed atrocious typo 7 years ago
garbage.php 6730d2befc Fixed typo in garbage.php 8 years ago
getIP.php cb944de118 Removed CORS headers (added by accident in previous commit) 7 years ago
speedtest_worker.js 4b54e4b388 Minor improvement to jitter test 7 years ago
speedtest_worker.min.js 4b54e4b388 Minor improvement to jitter test 7 years ago

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)

Features

  • Download
  • Upload
  • Ping
  • Jitter
  • IP Address
  • Telemetry (optional)
  • Results sharing (optional)

Screenshot

Requirements

  • A reasonably fast web server with PHP (see doc.md for details and use without PHP)
  • 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

Multiple test servers

Please see the mpot branch

Docker

Please see the docker branch

Node.js backend

A Node.js implementation is available in the node branch, maintained by dunklesToast.

Donate

Donate with Liberapay
Donate with PayPal
Send ETH at this address: 0x8A5273d4e2618c4cff2C62d8EB731701FceEd8E3

License

Copyright (C) 2016-2018 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.