Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(390)

Issue 7368046: code review 7368046: net: add benchmarks for network interface identification (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by mikio
Modified:
12 years ago
Reviewers:
dave
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

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 issue 4866.

Patch Set 1 #

Patch Set 2 : diff -r 734059df2768 https://code.google.com/p/go #

Patch Set 3 : diff -r 734059df2768 https://code.google.com/p/go #

Patch Set 4 : diff -r 734059df2768 https://code.google.com/p/go #

Patch Set 5 : diff -r 734059df2768 https://code.google.com/p/go #

Total comments: 2

Patch Set 6 : diff -r 734059df2768 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 95914f6d6c36 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -2 lines) Patch
M src/pkg/net/interface_test.go View 1 2 3 4 5 3 chunks +81 lines, -2 lines 0 comments Download

Messages

Total messages: 7
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years ago (2013-02-21 14:35:45 UTC) #1
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2013-02-21 15:21:24 UTC) #2
bradfitz
LGTM https://codereview.appspot.com/7368046/diff/14001/src/pkg/net/interface_test.go File src/pkg/net/interface_test.go (right): https://codereview.appspot.com/7368046/diff/14001/src/pkg/net/interface_test.go#newcode13 src/pkg/net/interface_test.go:13: // tests. , or nil. https://codereview.appspot.com/7368046/diff/14001/src/pkg/net/interface_test.go#newcode132 src/pkg/net/interface_test.go:132: return ...
12 years ago (2013-02-21 15:55:19 UTC) #3
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=e14ccb3e4514 *** net: add benchmarks for network interface identification Current results on ...
12 years ago (2013-02-21 16:19:11 UTC) #4
mikio
> https://codereview.appspot.com/7368046/diff/14001/src/pkg/net/interface_test.go#newcode13 > src/pkg/net/interface_test.go:13: // tests. > , or nil. > > https://codereview.appspot.com/7368046/diff/14001/src/pkg/net/interface_test.go#newcode132 > src/pkg/net/interface_test.go:132: ...
12 years ago (2013-02-21 17:04:49 UTC) #5
dave_cheney.net
> src/pkg/net/interface_test.go:132: return > b.Skipf? Oh, we can't skip on a *testing.B, I guess. I ...
12 years ago (2013-02-21 20:15:35 UTC) #6
dave_cheney.net
12 years ago (2013-02-22 10:46:52 UTC) #7
https://codereview.appspot.com/7379046

On Fri, Feb 22, 2013 at 7:15 AM, Dave Cheney <dave@cheney.net> wrote:
>> src/pkg/net/interface_test.go:132: return
>> b.Skipf? Oh, we can't skip on a *testing.B, I guess. I thought it was in
>> *common.
>>
>> At least Log (or Error)? here and 3 places below too?
>
> I will look at this today, or at least raise an issue
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b