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

manet: reduce allocations in resolve unspecified address #225

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

sukunrt
Copy link
Member

@sukunrt sukunrt commented Jan 10, 2024

master:
goos: darwin
goarch: arm64
pkg: github.com/multiformats/go-multiaddr/net
BenchmarkResolveUnspecifiedAddress
BenchmarkResolveUnspecifiedAddress-8 897662 1354 ns/op 4688 B/op 23 allocs/op

PR:
goos: darwin
goarch: arm64
pkg: github.com/multiformats/go-multiaddr/net
BenchmarkResolveUnspecifiedAddress
BenchmarkResolveUnspecifiedAddress-8 2879792 412.5 ns/op 1000 B/op 8 allocs/op

@sukunrt sukunrt requested a review from rvagg January 10, 2024 12:36
@rvagg
Copy link
Member

rvagg commented Jan 10, 2024

@sukunrt can you post the benchmarks for us?

@rvagg
Copy link
Member

rvagg commented Jan 10, 2024

nice

@rvagg rvagg merged commit bd5f381 into master Jan 10, 2024
9 checks passed
@rvagg rvagg deleted the allocations branch January 10, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants