[{"data":1,"prerenderedAt":126},["ShallowReactive",2],{"page:\u002Farticles\u002Fwireguard-config-benchmark":3},{"id":4,"title":5,"author":6,"body":10,"cover":112,"date":113,"description":114,"extension":115,"head":116,"layout":119,"meta":120,"navigation":121,"path":122,"seo":123,"stem":124,"__hash__":125},"pages\u002Farticles\u002F43.wireguard-config-benchmark.md","Ranking WireGuard Configurations by Speed",{"name":7,"avatarUrl":8,"link":9},"Likun Cai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103620968?v=4","https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha",{"type":11,"value":12,"toc":110},"minimark",[13,17,34,45,83,94,97,106],[14,15,5],"h1",{"id":16},"ranking-wireguard-configurations-by-speed",[18,19,20,21,25,26,33],"p",{},"The public ",[22,23,24],"code",{},"wireguard-config-benchmark"," repository is a fork of ",[27,28,32],"a",{"href":29,"rel":30},"https:\u002F\u002Fgithub.com\u002Fvorlac\u002Fwireguard-config-benchmark",[31],"nofollow","vorlac\u002Fwireguard-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.",[18,35,36,37,40,41,44],{},"After installing WireGuard, Python 3, and the repository requirements, edit ",[22,38,39],{},"VPN_CONFIG_DIR"," in ",[22,42,43],{},"benchmark_wireguard_vpn_servers.py"," and run:",[46,47,52],"pre",{"className":48,"code":49,"language":50,"meta":51,"style":51},"language-bash shiki shiki-themes github-light github-dark","pip install -r requirements.txt\npython benchmark_wireguard_vpn_servers.py\n","bash","",[22,53,54,74],{"__ignoreMap":51},[55,56,59,63,67,71],"span",{"class":57,"line":58},"line",1,[55,60,62],{"class":61},"sScJk","pip",[55,64,66],{"class":65},"sZZnC"," install",[55,68,70],{"class":69},"sj4cs"," -r",[55,72,73],{"class":65}," requirements.txt\n",[55,75,77,80],{"class":57,"line":76},2,[55,78,79],{"class":61},"python",[55,81,82],{"class":65}," benchmark_wireguard_vpn_servers.py\n",[18,84,85,86,89,90,93],{},"On Windows, the script needs administrator privileges to control WireGuard tunnels. Standard output is captured in ",[22,87,88],{},"benchmark_stdout.txt",", while ",[22,91,92],{},"benchmark_results.json"," records the configuration name, endpoint information, download speed, ping, and the speed-test servers used.",[18,95,96],{},"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.",[18,98,99,100,105],{},"Browse the ",[27,101,104],{"href":102,"rel":103},"https:\u002F\u002Fgithub.com\u002FAlchemist-Aloha\u002Fwireguard-config-benchmark",[31],"Alchemist-Aloha WireGuard benchmark fork"," for the current script.",[107,108,109],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":51,"searchDepth":76,"depth":76,"links":111},[],"\u002Farticles\u002Fwireguard-benchmark-cover.webp","2026-08-12T00:43:00.000Z","Connect each VPN configuration in turn, run download and latency tests, and write a fastest-first JSON report.","md",{"title":117},{"wireguard-config-benchmark":118},"Measure Before Choosing a VPN Endpoint","page",{},true,"\u002Farticles\u002Fwireguard-config-benchmark",{"title":5,"description":114},"articles\u002F43.wireguard-config-benchmark","bhIfpWI3XRAL9OeGGnqSf3kCfhT8xXlspIfRpPi3xAU",1786980373676]