diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-28 00:49:31 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-28 15:22:34 +0100 |
commit | 34c047c762c31911333833c56a6dc50c52c84f5f (patch) | |
tree | dca8ea6dc6fb03d939f0f012f6a61f44b6688a1e /ipc/uapi_bsd.go | |
parent | d4725bc45685187088c84234a6d2be396a1373e5 (diff) |
device: avoid hex allocations in IpcGet
benchmark old ns/op new ns/op delta
BenchmarkUAPIGet-16 2872 2157 -24.90%
benchmark old allocs new allocs delta
BenchmarkUAPIGet-16 30 18 -40.00%
benchmark old bytes new bytes delta
BenchmarkUAPIGet-16 737 256 -65.26%
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ipc/uapi_bsd.go')
0 files changed, 0 insertions, 0 deletions