diff options
author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2021-01-26 11:11:58 -0800 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@tailscale.com> | 2021-01-26 11:51:52 -0800 |
commit | 8114c9db5ffc8c63e7f58eb06228ddad4ee2e1c3 (patch) | |
tree | 11b0e7879b531475e01dbd390939fe6690e521b0 /ratelimiter | |
parent | e6ec3852a93c95ac55662cc34a25b71a84c6e7b0 (diff) |
device: reduce allocs in Device.IpcGetOperation
Plenty more to go, but a start:
name old time/op new time/op delta
UAPIGet-4 6.37µs ± 2% 5.56µs ± 1% -12.70% (p=0.000 n=8+8)
name old alloc/op new alloc/op delta
UAPIGet-4 1.98kB ± 0% 1.22kB ± 0% -38.71% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
UAPIGet-4 42.0 ± 0% 35.0 ± 0% -16.67% (p=0.000 n=10+10)
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'ratelimiter')
0 files changed, 0 insertions, 0 deletions