• 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
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...