Configure HTML5 Speedtest to test the speed between local and server

888u

Last update at :2024-06-24,Edit by888u

Nowadays, there are too many server merchants, but most of our users want to choose merchants that are cheap, stable, fast, don’t run away, have good service, and respond quickly... However, there are basically no such service providers. We can only say that the cost we pay is similar to the price/performance ratio among similar merchant products, so the actual test speed needs to be carried out between merchant products. We can see that there are many kinds of evaluation tools, including Snail, which is also used in the evaluation of some servers.

However, those parameters, configurations, IO and other tests are basically useless. The most important thing is the speed during actual use. Sometimes it requires the speed of our own use, and sometimes it requires the speed of guest users. The essential. Even if some configurations are very high, but the lines are poor, it is of no use. Therefore, Snail saw that he could install the HTML5 Speedtest visual testing tool on the server to directly test the speed from the user's local computer to the server.

First, source code and preparation work

Here we need a WEB environment, but we need a slightly higher version of PHP, because in the previous \\"Solution\\" Parse error: syntax error, unexpected\\"Error problem record\\" article There are records in the Internet that lower versions of PHP cannot obtain IP addresses and local information.

Source code download: https://github.com/adolfintel/speedtest

We download the source code directly to the current site directory and decompress it.

Second, modify the file name

You need to modify the file in the root directory \\"example-pretty.html\\" to \\"index.html\\"

After modification, we can directly open the URL to see it.

Third, SpeedTest test

In this way, is the effect coming out?

Recommended site search: free personal homepage space, overseas server, domain name registration website, Singapore server, Henan server website space registration-free, web page registration, all-round virtual host, domain name registration query, enterprise virtual host,

Configure HTML5 Speedtest to test the speed between local and server

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码