Measured on every commit
Performance per commit
Each new commit on main of link (the connection layer) and relay-core (the relay's sessions) runs the same small set of benchmarks: link's throughput and latency over one connection, and the relay's TCP path and end-to-end encrypted path, in one process over loopback.
Newest commit: go1.27.4, linux/arm64, 3 CPUs, medians of 6 runs of 1s each. Each point is a commit, oldest on the left; the bar behind it spans the fastest and slowest run.
TCP, 64 KiB messages, 8 sessions : 9,601 MB/s on the newest commitcfb6e9739c 2026-11-11: 9,786 MB/s (7,408–10,070) 547f0d0539 2026-11-11: 10,479 MB/s (10,063–10,684) 3b3db0bb4b 2026-11-11: 10,424 MB/s (10,045–10,843) 29b8e5d5b4 2026-11-11: 10,704 MB/s (10,296–10,911) 4a214b7d4a 2026-11-12: 10,253 MB/s (9,706–10,289) 92c44ea74c 2026-11-12: 9,579 MB/s (9,167–10,113) 6e78c7ded8 2026-11-12: 7,972 MB/s (4,224–9,810) 75f4dde701 2026-11-12: 10,380 MB/s (9,555–10,459) d6b9bb3677 2026-11-14: 9,216 MB/s (9,015–9,955) ada72ab903 2026-11-14: 9,994 MB/s (6,348–10,613) 3a304ea275 2026-11-15: 9,601 MB/s (9,204–10,191)
TLS 1.3, 64 KiB messages, 8 sessions : 3,637 MB/s on the newest commitcfb6e9739c 2026-11-11: 3,672 MB/s (3,215–3,747) 547f0d0539 2026-11-11: 3,671 MB/s (3,474–4,012) 3b3db0bb4b 2026-11-11: 3,672 MB/s (3,432–3,867) 29b8e5d5b4 2026-11-11: 3,694 MB/s (3,610–4,072) 4a214b7d4a 2026-11-12: 3,773 MB/s (3,566–4,062) 92c44ea74c 2026-11-12: 3,638 MB/s (3,579–3,845) 6e78c7ded8 2026-11-12: 2,757 MB/s (1,958–3,702) 75f4dde701 2026-11-12: 3,688 MB/s (3,586–3,790) d6b9bb3677 2026-11-14: 3,604 MB/s (3,476–3,898) ada72ab903 2026-11-14: 3,641 MB/s (3,357–3,664) 3a304ea275 2026-11-15: 3,637 MB/s (3,344–3,777)
TCP, 64-byte messages, 8 sessions : 222 MB/s on the newest commitcfb6e9739c 2026-11-11: 218 MB/s (123–233) 547f0d0539 2026-11-11: 200 MB/s (194–215) 3b3db0bb4b 2026-11-11: 220 MB/s (191–235) 29b8e5d5b4 2026-11-11: 217 MB/s (194–230) 4a214b7d4a 2026-11-12: 220 MB/s (192–229) 92c44ea74c 2026-11-12: 208 MB/s (192–227) 6e78c7ded8 2026-11-12: 187 MB/s (107–221) 75f4dde701 2026-11-12: 221 MB/s (211–228) d6b9bb3677 2026-11-14: 205 MB/s (190–222) ada72ab903 2026-11-14: 198 MB/s (53.5–223) 3a304ea275 2026-11-15: 222 MB/s (191–231)
TLS 1.3, 64-byte messages, 8 sessions : 174 MB/s on the newest commitcfb6e9739c 2026-11-11: 176 MB/s (165–189) 547f0d0539 2026-11-11: 186 MB/s (174–205) 3b3db0bb4b 2026-11-11: 185 MB/s (172–201) 29b8e5d5b4 2026-11-11: 198 MB/s (195–203) 4a214b7d4a 2026-11-12: 188 MB/s (177–204) 92c44ea74c 2026-11-12: 184 MB/s (169–199) 6e78c7ded8 2026-11-12: 140 MB/s (99.0–202) 75f4dde701 2026-11-12: 179 MB/s (171–192) d6b9bb3677 2026-11-14: 196 MB/s (192–207) ada72ab903 2026-11-14: 173 MB/s (161–192) 3a304ea275 2026-11-15: 174 MB/s (170–191)
64-byte echo on a held session, p50 : 2.88 µs on the newest commitcfb6e9739c 2026-11-11: 2.88 µs (2.83–3.62) 547f0d0539 2026-11-11: 2.88 µs (2.83–2.88) 3b3db0bb4b 2026-11-11: 2.75 µs (2.67–2.88) 29b8e5d5b4 2026-11-11: 2.77 µs (2.71–2.83) 4a214b7d4a 2026-11-12: 2.85 µs (2.83–2.88) 92c44ea74c 2026-11-12: 2.88 µs (2.83–2.88) 6e78c7ded8 2026-11-12: 3.10 µs (2.88–3.54) 75f4dde701 2026-11-12: 2.88 µs (2.83–2.88) d6b9bb3677 2026-11-14: 2.88 µs (2.83–2.88) ada72ab903 2026-11-14: 2.88 µs (2.75–2.92) 3a304ea275 2026-11-15: 2.88 µs (2.83–2.88)
64-byte echo on a held session, p99 : 7.79 µs on the newest commitcfb6e9739c 2026-11-11: 7.75 µs (7.50–19.9) 547f0d0539 2026-11-11: 7.38 µs (7.17–7.96) 3b3db0bb4b 2026-11-11: 7.17 µs (6.54–9.17) 29b8e5d5b4 2026-11-11: 7.08 µs (6.92–8.50) 4a214b7d4a 2026-11-12: 7.27 µs (6.71–7.96) 92c44ea74c 2026-11-12: 7.27 µs (6.96–8.21) 6e78c7ded8 2026-11-12: 11.9 µs (8.04–15.8) 75f4dde701 2026-11-12: 7.46 µs (7.25–8.71) d6b9bb3677 2026-11-14: 8.63 µs (8.21–10.8) ada72ab903 2026-11-14: 7.23 µs (7.04–17.4) 3a304ea275 2026-11-15: 7.79 µs (7.54–8.42)
Commit Date TCP, 64 KiB messages, 8 sessions (MB/s) TLS 1.3, 64 KiB messages, 8 sessions (MB/s) TCP, 64-byte messages, 8 sessions (MB/s) TLS 1.3, 64-byte messages, 8 sessions (MB/s) 64-byte echo on a held session, p50 (µs) 64-byte echo on a held session, p99 (µs)
3a304ea2752026-11-15 9,6019,204–10,191 3,6373,344–3,777 222191–231 174170–191 2.882.83–2.88 7.797.54–8.42
ada72ab9032026-11-14 9,994 faster 6,348–10,613 3,6413,357–3,664 19853.5–223 173 slower 161–192 2.882.75–2.92 7.23 faster 7.04–17.4
d6b9bb36772026-11-14 9,216 slower 9,015–9,955 3,6043,476–3,898 205 slower 190–222 196 faster 192–207 2.882.83–2.88 8.638.21–10.8
75f4dde7012026-11-12 10,380 faster 9,555–10,459 3,6883,586–3,790 221211–228 179171–192 2.882.83–2.88 7.46 faster 7.25–8.71
6e78c7ded82026-11-12 7,972 slower 4,224–9,810 2,757 slower 1,958–3,702 187 slower 107–221 140 slower 99.0–202 3.10 slower 2.88–3.54 11.9 slower 8.04–15.8
92c44ea74c2026-11-12 9,579 slower 9,167–10,113 3,6383,579–3,845 208192–227 184169–199 2.882.83–2.88 7.276.96–8.21
4a214b7d4a2026-11-12 10,253 slower 9,706–10,289 3,7733,566–4,062 220192–229 188 slower 177–204 2.85 slower 2.83–2.88 7.276.71–7.96
29b8e5d5b42026-11-11 10,70410,296–10,911 3,6943,610–4,072 217194–230 198195–203 2.772.71–2.83 7.086.92–8.50
3b3db0bb4b2026-11-11 10,42410,045–10,843 3,6723,432–3,867 220 faster 191–235 185172–201 2.75 faster 2.67–2.88 7.176.54–9.17
547f0d05392026-11-11 10,479 faster 10,063–10,684 3,6713,474–4,012 200194–215 186174–205 2.882.83–2.88 7.38 faster 7.17–7.96
cfb6e9739c2026-11-11 9,7867,408–10,070 3,6723,215–3,747 218123–233 176165–189 2.882.83–3.62 7.757.50–19.9
Newest commit: go1.27.4, linux/arm64, 3 CPUs, medians of 6 runs of 1s each. Each point is a commit, oldest on the left; the bar behind it spans the fastest and slowest run.
Relayed TCP upload, 1 session : 1,878 MB/s on the newest commit28c2f003f8 2026-11-11: 1,859 MB/s (1,805–1,885) 1e71188ef3 2026-11-11: 1,861 MB/s (1,785–1,896) ebcf025519 2026-11-11: 1,852 MB/s (1,818–1,905) 54a1fbd31a 2026-11-12: 1,770 MB/s (1,680–1,807) 17c2055267 2026-11-12: 1,807 MB/s (1,741–1,821) d60cdaea00 2026-11-12: 1,712 MB/s (1,291–1,746) 58301d52bb 2026-11-12: 1,854 MB/s (1,762–1,889) 2e0c488942 2026-11-12: 1,831 MB/s (1,775–1,877) 2598f4aab6 2026-11-12: 1,859 MB/s (1,763–1,871) 17b390f932 2026-11-12: 1,874 MB/s (1,845–1,937) 29d80e0c69 2026-11-13: 1,846 MB/s (1,774–1,889) e419194220 2026-11-13: 1,857 MB/s (1,826–1,893) 3cd25c9e8e 2026-11-14: 1,817 MB/s (1,584–1,880) d4b69865b8 2026-11-14: 1,801 MB/s (1,764–1,857) 374ad5b5e4 2026-11-14: 1,430 MB/s (880–1,857) 23c4461457 2026-11-14: 1,746 MB/s (1,642–1,836) 31b18f24b7 2026-11-14: 1,857 MB/s (1,820–1,909) 3ea4e3437b 2026-11-15: 1,789 MB/s (1,401–1,844) 96b896af68 2026-11-15: 1,878 MB/s (1,793–1,887) 950d146dcc 2026-11-15: 1,878 MB/s (1,805–1,899)
Relayed TCP upload, 8 sessions : 2,516 MB/s on the newest commit28c2f003f8 2026-11-11: 2,491 MB/s (1,995–2,552) 1e71188ef3 2026-11-11: 2,568 MB/s (2,403–2,616) ebcf025519 2026-11-11: 2,583 MB/s (2,533–2,637) 54a1fbd31a 2026-11-12: 2,294 MB/s (2,203–2,341) 17c2055267 2026-11-12: 2,403 MB/s (2,320–2,498) d60cdaea00 2026-11-12: 2,301 MB/s (2,233–2,333) 58301d52bb 2026-11-12: 2,577 MB/s (2,524–2,637) 2e0c488942 2026-11-12: 2,448 MB/s (2,240–2,538) 2598f4aab6 2026-11-12: 2,505 MB/s (2,337–2,558) 17b390f932 2026-11-12: 2,609 MB/s (2,489–2,681) 29d80e0c69 2026-11-13: 2,492 MB/s (2,411–2,549) e419194220 2026-11-13: 2,508 MB/s (2,417–2,563) 3cd25c9e8e 2026-11-14: 2,512 MB/s (2,435–2,566) d4b69865b8 2026-11-14: 2,541 MB/s (2,456–2,593) 374ad5b5e4 2026-11-14: 1,974 MB/s (724–2,431) 23c4461457 2026-11-14: 2,264 MB/s (2,039–2,493) 31b18f24b7 2026-11-14: 2,593 MB/s (2,582–2,647) 3ea4e3437b 2026-11-15: 2,408 MB/s (1,938–2,533) 96b896af68 2026-11-15: 2,556 MB/s (2,371–2,619) 950d146dcc 2026-11-15: 2,516 MB/s (2,470–2,548)
Relayed TCP download, 1 session : 1,124 MB/s on the newest commit28c2f003f8 2026-11-11: 1,147 MB/s (1,139–1,215) 1e71188ef3 2026-11-11: 1,133 MB/s (1,114–1,150) ebcf025519 2026-11-11: 1,150 MB/s (1,116–1,173) 54a1fbd31a 2026-11-12: 1,074 MB/s (1,052–1,088) 17c2055267 2026-11-12: 1,125 MB/s (1,059–1,166) d60cdaea00 2026-11-12: 1,052 MB/s (1,016–1,089) 58301d52bb 2026-11-12: 1,145 MB/s (1,140–1,169) 2e0c488942 2026-11-12: 1,127 MB/s (1,098–1,144) 2598f4aab6 2026-11-12: 1,141 MB/s (1,120–1,155) 17b390f932 2026-11-12: 1,147 MB/s (1,119–1,187) 29d80e0c69 2026-11-13: 1,145 MB/s (1,112–1,158) e419194220 2026-11-13: 1,132 MB/s (1,067–1,153) 3cd25c9e8e 2026-11-14: 1,140 MB/s (1,129–1,159) d4b69865b8 2026-11-14: 1,100 MB/s (1,088–1,117) 374ad5b5e4 2026-11-14: 915 MB/s (500–1,103) 23c4461457 2026-11-14: 1,087 MB/s (1,052–1,102) 31b18f24b7 2026-11-14: 1,148 MB/s (1,095–1,171) 3ea4e3437b 2026-11-15: 1,123 MB/s (867–1,156) 96b896af68 2026-11-15: 1,151 MB/s (1,138–1,192) 950d146dcc 2026-11-15: 1,124 MB/s (1,118–1,141)
Relayed TCP download, 8 sessions : 1,815 MB/s on the newest commit28c2f003f8 2026-11-11: 1,804 MB/s (1,732–1,832) 1e71188ef3 2026-11-11: 1,788 MB/s (1,673–1,848) ebcf025519 2026-11-11: 1,865 MB/s (1,851–1,882) 54a1fbd31a 2026-11-12: 1,596 MB/s (1,530–1,626) 17c2055267 2026-11-12: 1,745 MB/s (1,658–1,790) d60cdaea00 2026-11-12: 1,566 MB/s (1,070–1,626) 58301d52bb 2026-11-12: 1,832 MB/s (1,732–1,879) 2e0c488942 2026-11-12: 1,741 MB/s (1,610–1,794) 2598f4aab6 2026-11-12: 1,786 MB/s (1,722–1,821) 17b390f932 2026-11-12: 1,843 MB/s (1,803–1,878) 29d80e0c69 2026-11-13: 1,786 MB/s (1,698–1,802) e419194220 2026-11-13: 1,800 MB/s (1,727–1,828) 3cd25c9e8e 2026-11-14: 1,717 MB/s (1,306–1,785) d4b69865b8 2026-11-14: 1,832 MB/s (1,812–1,845) 374ad5b5e4 2026-11-14: 1,141 MB/s (283–1,680) 23c4461457 2026-11-14: 1,628 MB/s (1,563–1,730) 31b18f24b7 2026-11-14: 1,849 MB/s (1,835–1,861) 3ea4e3437b 2026-11-15: 1,721 MB/s (1,365–1,793) 96b896af68 2026-11-15: 1,853 MB/s (1,846–1,879) 950d146dcc 2026-11-15: 1,815 MB/s (1,736–1,829)
E2EE request, 1 KiB, kept-alive connection : 34.1 µs on the newest commit28c2f003f8 2026-11-11: 34.4 µs (33.4–35.9) 1e71188ef3 2026-11-11: 34.1 µs (32.7–34.5) ebcf025519 2026-11-11: 33.5 µs (32.2–34.7) 54a1fbd31a 2026-11-12: 33.6 µs (32.5–34.1) 17c2055267 2026-11-12: 35.1 µs (34.2–37.8) d60cdaea00 2026-11-12: 34.8 µs (34.1–40.9) 58301d52bb 2026-11-12: 33.5 µs (32.8–52.5) 2e0c488942 2026-11-12: 33.3 µs (32.4–37.4) 2598f4aab6 2026-11-12: 34.2 µs (33.0–34.3) 17b390f932 2026-11-12: 33.0 µs (31.8–34.5) 29d80e0c69 2026-11-13: 32.8 µs (32.1–34.5) e419194220 2026-11-13: 32.8 µs (32.3–34.8) 3cd25c9e8e 2026-11-14: 35.0 µs (33.6–35.3) d4b69865b8 2026-11-14: 33.5 µs (32.4–33.7) 374ad5b5e4 2026-11-14: 37.8 µs (33.6–121) 23c4461457 2026-11-14: 34.7 µs (33.3–38.8) 31b18f24b7 2026-11-14: 33.7 µs (32.5–34.1) 3ea4e3437b 2026-11-15: 35.4 µs (34.3–39.8) 96b896af68 2026-11-15: 32.8 µs (31.6–34.1) 950d146dcc 2026-11-15: 34.1 µs (33.0–34.7)
E2EE request, 1 KiB, new connection (TLS handshake) : 606 µs on the newest commit28c2f003f8 2026-11-11: 617 µs (589–687) 1e71188ef3 2026-11-11: 610 µs (575–622) ebcf025519 2026-11-11: 609 µs (588–630) 54a1fbd31a 2026-11-12: 618 µs (596–651) 17c2055267 2026-11-12: 611 µs (607–639) d60cdaea00 2026-11-12: 614 µs (592–785) 58301d52bb 2026-11-12: 616 µs (582–688) 2e0c488942 2026-11-12: 613 µs (600–623) 2598f4aab6 2026-11-12: 611 µs (595–643) 17b390f932 2026-11-12: 610 µs (598–640) 29d80e0c69 2026-11-13: 603 µs (551–633) e419194220 2026-11-13: 590 µs (572–598) 3cd25c9e8e 2026-11-14: 616 µs (602–689) d4b69865b8 2026-11-14: 620 µs (601–641) 374ad5b5e4 2026-11-14: 754 µs (599–1,740) 23c4461457 2026-11-14: 642 µs (616–659) 31b18f24b7 2026-11-14: 606 µs (575–624) 3ea4e3437b 2026-11-15: 601 µs (585–749) 96b896af68 2026-11-15: 604 µs (584–655) 950d146dcc 2026-11-15: 606 µs (592–618)
Commit Date Relayed TCP upload, 1 session (MB/s) Relayed TCP upload, 8 sessions (MB/s) Relayed TCP download, 1 session (MB/s) Relayed TCP download, 8 sessions (MB/s) E2EE request, 1 KiB, kept-alive connection (µs) E2EE request, 1 KiB, new connection (TLS handshake) (µs)
950d146dcc2026-11-15 1,8781,805–1,899 2,5162,470–2,548 1,124 slower 1,118–1,141 1,815 slower 1,736–1,829 34.1 slower 33.0–34.7 606592–618
96b896af682026-11-15 1,878 faster 1,793–1,887 2,556 faster 2,371–2,619 1,1511,138–1,192 1,853 faster 1,846–1,879 32.8 faster 31.6–34.1 604584–655
3ea4e3437b2026-11-15 1,789 slower 1,401–1,844 2,408 slower 1,938–2,533 1,123867–1,156 1,721 slower 1,365–1,793 35.4 slower 34.3–39.8 601585–749
31b18f24b72026-11-14 1,857 faster 1,820–1,909 2,593 faster 2,582–2,647 1,148 faster 1,095–1,171 1,849 faster 1,835–1,861 33.732.5–34.1 606 faster 575–624
23c44614572026-11-14 1,7461,642–1,836 2,2642,039–2,493 1,0871,052–1,102 1,6281,563–1,730 34.733.3–38.8 642616–659
374ad5b5e42026-11-14 1,430 slower 880–1,857 1,974 slower 724–2,431 915 slower 500–1,103 1,141 slower 283–1,680 37.8 slower 33.6–121 754 slower 599–1,740
d4b69865b82026-11-14 1,8011,764–1,857 2,5412,456–2,593 1,100 slower 1,088–1,117 1,832 faster 1,812–1,845 33.5 faster 32.4–33.7 620601–641
3cd25c9e8e2026-11-14 1,817 slower 1,584–1,880 2,5122,435–2,566 1,1401,129–1,159 1,717 slower 1,306–1,785 35.0 slower 33.6–35.3 616 slower 602–689
e4191942202026-11-13 1,8571,826–1,893 2,5082,417–2,563 1,1321,067–1,153 1,8001,727–1,828 32.832.3–34.8 590572–598
29d80e0c692026-11-13 1,8461,774–1,889 2,4922,411–2,549 1,1451,112–1,158 1,786 slower 1,698–1,802 32.832.1–34.5 603551–633
17b390f9322026-11-12 1,874 faster 1,845–1,937 2,609 faster 2,489–2,681 1,1471,119–1,187 1,843 faster 1,803–1,878 33.031.8–34.5 610598–640
2598f4aab62026-11-12 1,8591,763–1,871 2,5052,337–2,558 1,1411,120–1,155 1,7861,722–1,821 34.233.0–34.3 611595–643
2e0c4889422026-11-12 1,8311,775–1,877 2,448 slower 2,240–2,538 1,127 slower 1,098–1,144 1,7411,610–1,794 33.332.4–37.4 613600–623
58301d52bb2026-11-12 1,854 faster 1,762–1,889 2,577 faster 2,524–2,637 1,145 faster 1,140–1,169 1,832 faster 1,732–1,879 33.5 faster 32.8–52.5 616582–688
d60cdaea002026-11-12 1,712 slower 1,291–1,746 2,301 slower 2,233–2,333 1,052 slower 1,016–1,089 1,566 slower 1,070–1,626 34.834.1–40.9 614592–785
17c20552672026-11-12 1,807 faster 1,741–1,821 2,403 faster 2,320–2,498 1,125 faster 1,059–1,166 1,745 faster 1,658–1,790 35.1 slower 34.2–37.8 611607–639
54a1fbd31a2026-11-12 1,770 slower 1,680–1,807 2,294 slower 2,203–2,341 1,074 slower 1,052–1,088 1,596 slower 1,530–1,626 33.632.5–34.1 618596–651
ebcf0255192026-11-11 1,8521,818–1,905 2,5832,533–2,637 1,1501,116–1,173 1,865 faster 1,851–1,882 33.532.2–34.7 609588–630
1e71188ef32026-11-11 1,8611,785–1,896 2,568 faster 2,403–2,616 1,133 slower 1,114–1,150 1,7881,673–1,848 34.132.7–34.5 610575–622
28c2f003f82026-11-11 1,8591,805–1,885 2,4911,995–2,552 1,1471,139–1,215 1,8041,732–1,832 34.433.4–35.9 617589–687
How to read it
Medians, with their spread Every benchmark runs six times per commit, in rounds that take each benchmark in turn, so a burst of load on the machine hits all of them alike. The table shows the median and, below it, the fastest and slowest run.
Changes beyond the noise A value is marked faster or slower only when its median lies outside the previous commit's range. A change inside that range is within run-to-run noise.
One shared machine The runs share a build machine with other jobs and start only while no other job runs. Compare commits with each other, not with your own hardware; absolute numbers depend on the machine.
Reproduce it The benchmarks are in the repositories: BenchmarkThroughput and BenchmarkLatency in link, BenchmarkTCPTunnelThroughput and BenchmarkE2EEVhostRequest in relay-core's core/session.