自建speedtest 客户端对服务器网络测试页面程序(speedtest lite)
自建speedtest 客户端对服务器网络测试页面程序(speedtest lite)
该页面程序修改自adolfintel 的 speedtest 项目适用于IDC服务商服务器或者自己的VPS自建 speedtest,供客户端对服务器进行网络测试,程序轻便5KB。
目前很多主机商用的是 Looking Glass,搭起来稍微有些繁琐,如果嫌麻烦,可以试试我优化的这个程序。
说明:
1.根据example3.html原版汉化精简界面
2.优化细节排版,参照 beta.speedtest.net css稍作美化
3.如果你喜欢别的样式可以根据Github项目中的其他example页面自行美化修改。
GitHub地址:https://github.com/adolfintel/speedtest
请注意!GitHub内有该程序的多个测速版本。访问不同的html地址得到的界面是不一样的。大家自己可以多多尝试
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)
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
Debian 9.0 with Apache
Windows Server 2016 with IIS
Ubuntu (External)
Also, here’s an example config on Ubuntu 16 LTS
How to use in your site
See the examples
Read the wiki
Read doc.md
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.