diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2013-02-22 01:19:04 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2013-02-22 01:19:04 +0900 |
| commit | 0ad88a481de7aeba15e5a8b3ee5af7141396b082 (patch) | |
| tree | b6f4c8653aaf5d3b39aa57965629a715eab03b81 /src/cmd/fix/googlecode.go | |
| parent | 867121585ad4b524ae7b6de31ab13432a4e11ce3 (diff) | |
| download | go-0ad88a481de7aeba15e5a8b3ee5af7141396b082.tar.xz | |
net: add benchmarks for network interface identification
Current results on linux/amd64:
BenchmarkInterfaces 20000 80902 ns/op
BenchmarkInterfaceByIndex 50000 71591 ns/op
BenchmarkInterfaceByName 20000 79908 ns/op
BenchmarkInterfaceAddrs 2000 836413 ns/op
BenchmarkInterfacesAndAddrs 5000 605946 ns/op
BenchmarkInterfacesAndMulticastAddrs 10000 169029 ns/op
Update #4866.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7368046
Diffstat (limited to 'src/cmd/fix/googlecode.go')
0 files changed, 0 insertions, 0 deletions
