]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: add latency and throughput benchmarks
authorJosh Bleecher Snyder <josh@tailscale.com>
Wed, 6 Jan 2021 02:14:59 +0000 (18:14 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 7 Jan 2021 13:49:44 +0000 (14:49 +0100)
commit85b495057977e12df378778366a03b508c43f00f
tree2dc1d13576017ed7ff12b6ae6711851f1b7772d1
parent8a304155554a16285b5334ae4a02e09adfb0bde1
device: add latency and throughput benchmarks

These obviously don't perfectly capture real world performance,
in which syscalls and network links have a significant impact.
Nevertheless, they capture some of the internal performance factors,
and they're easy and convenient to work with.

Hat tip to Avery Pennarun for help designing the throughput benchmark.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/device_test.go