Ranking WireGuard Configurations by Speed cover
Research notebook

Ranking WireGuard Configurations by Speed

The public wireguard-config-benchmark repository is a fork of vorlac/wireguard-config-benchmark. The Python script connects the WireGuard profiles in a directory, measures their network performance, and writes a JSON report sorted from the fastest download result to the slowest.

After installing WireGuard, Python 3, and the repository requirements, edit VPN_CONFIG_DIR in benchmark_wireguard_vpn_servers.py and run:

pip install -r requirements.txt
python benchmark_wireguard_vpn_servers.py

On Windows, the script needs administrator privileges to control WireGuard tunnels. Standard output is captured in benchmark_stdout.txt, while benchmark_results.json records the configuration name, endpoint information, download speed, ping, and the speed-test servers used.

A ranking is only a snapshot. Congestion, routing, Wi-Fi quality, test-server load, and time of day can change the order. Repeat measurements and choose a representative workload before making the result operational. WireGuard profiles also contain private keys; keep the configuration directory and benchmark logs out of source control.

Browse the Alchemist-Aloha WireGuard benchmark fork for the current script.