Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

device: optimize Peer.String even more so #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlexanderYastrebov
Copy link

name          old time/op    new time/op    delta
PeerString-8    49.5ns ±17%    32.6ns ±17%  -34.09%  (p=0.000 n=10+10)

name          old alloc/op   new alloc/op   delta
PeerString-8     24.0B ± 0%     24.0B ± 0%     ~     (all equal)

name          old allocs/op  new allocs/op  delta
PeerString-8      1.00 ± 0%      1.00 ± 0%     ~     (all equal)

Signed-off-by: Alexander Yastrebov [email protected]

name          old time/op    new time/op    delta
PeerString-8    49.5ns ±17%    32.6ns ±17%  -34.09%  (p=0.000 n=10+10)

name          old alloc/op   new alloc/op   delta
PeerString-8     24.0B ± 0%     24.0B ± 0%     ~     (all equal)

name          old allocs/op  new allocs/op  delta
PeerString-8      1.00 ± 0%      1.00 ± 0%     ~     (all equal)

Signed-off-by: Alexander Yastrebov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant