• Mikio Hara's avatar
    net: add benchmarks for network interface identification · 0ad88a48
    Mikio Hara authored
    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
    0ad88a48
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...