diff options
author | Jordan Whited <jordan@tailscale.com> | 2023-11-07 15:24:21 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-12-11 16:34:09 +0100 |
commit | 7c20311b3d30b96576a95fec31f58e4d5e0d3234 (patch) | |
tree | 81e434bd02155f6519929562c8e9ee7ed6b303de /format_test.go | |
parent | 4ffa9c20327b9471c3eeb142347f679b69f84648 (diff) |
device: reduce redundant per-packet overhead in RX path
Peer.RoutineSequentialReceiver() deals with packet vectors and does not
need to perform timer and endpoint operations for every packet in a
given vector. Changing these per-packet operations to per-vector
improves throughput by as much as 10% in some environments.
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'format_test.go')
0 files changed, 0 insertions, 0 deletions