summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform
diff options
context:
space:
mode:
authorFazlul Shahriar <fshahriar@gmail.com>2020-08-11 16:41:38 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-11 16:43:23 -0700
commit49947d2eb9506d85ec735d17d00060d59997c452 (patch)
tree88b96420714fac4107247f7140c7e5de438f4a14 /pkg/sentry/platform
parent89f3197fc368702cbe1842932d9cfbede250269f (diff)
Eliminate one allocation per send/recv for non-flipcall transport.
Ported from https://github.com/hugelgupf/p9/pull/44. name old time/op new time/op delta SendRecvLegacy-6 61.5µs ± 6% 60.1µs ±11% ~ (p=0.063 n=9+9) SendRecv-6 40.7µs ± 2% 39.8µs ± 5% -2.27% (p=0.035 n=10+10) name old alloc/op new alloc/op delta SendRecvLegacy-6 769B ± 0% 705B ± 0% -8.37% (p=0.000 n=8+10) SendRecv-6 320B ± 0% 256B ± 0% -20.00% (p=0.000 n=10+10) name old allocs/op new allocs/op delta SendRecvLegacy-6 25.0 ± 0% 23.0 ± 0% -8.00% (p=0.000 n=10+10) SendRecv-6 14.0 ± 0% 12.0 ± 0% -14.29% (p=0.000 n=10+10) PiperOrigin-RevId: 326127979
Diffstat (limited to 'pkg/sentry/platform')
0 files changed, 0 insertions, 0 deletions