Rob van der Woude's Scripting Pages

PHP Speed Test

This page, based on code by Jan Moesen, measures your link speed.

Since the original code gave me results in the 75 MB/s range, whereas my provider's monthly bill stated 6 MB/s, I added more "randomness" in the test data, thus eliminating (or at least diminishing) the effect of data compression.
The modified test gave me more realistic results in the 4 MB/s range...

By default, your link speed is tested by measuring the time it takes to download 512 KB.
You can use a larger number of bytes for more accuracy by specifying the size of the download:

http://www.robvanderwoude.com/speedtest.php?numKB=16384

where numKB may be any number from 512..16384.

This is not a script to benchmark or determine the execution speed of PHP scripts. If you're looking for one, check out the PEAR Benchmark package.

This script sends 512 KB of HTML comments to your client. Both generating and parsing that HTML may add to the total transfer time, so don't take this as your raw download speed.

(Show this page's source code)

Please wait...

Transferring 512 KB

Transferred 512 KB in 0.111 seconds: 4.505 MB/s (or 36 Mb/s )


page last modified: 2021-10-08; loaded in 0.1138 seconds