FAQ

On 2012/11/15 11:01:55, minux wrote:
Hello mailto:golang-dev@googlegroups.com, mailto:dave@cheney.net (cc:
mailto:golang-dev@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/go
dfc@qnap:~/go/src/pkg/crypto/md5$ ~/go/misc/benchcmp {old,new}.txt
benchmark old ns/op new ns/op delta
BenchmarkHash8Bytes 4104 3417 -16.74%
BenchmarkHash1K 22061 11208 -49.20%
BenchmarkHash8K 146630 65148 -55.57%
BenchmarkHash8BytesUnaligned 4128 3436 -16.76%
BenchmarkHash1KUnaligned 22054 21473 -2.63%
BenchmarkHash8KUnaligned 146658 146909 +0.17%

benchmark old MB/s new MB/s speedup
BenchmarkHash8Bytes 1.95 2.34 1.20x
BenchmarkHash1K 46.42 91.36 1.97x
BenchmarkHash8K 55.87 125.74 2.25x
BenchmarkHash8BytesUnaligned 1.94 2.33 1.20x
BenchmarkHash1KUnaligned 46.43 47.69 1.03x
BenchmarkHash8KUnaligned 55.86 55.76 1.00x

https://codereview.appspot.com/6782072/

Search Discussions

  • Brad Fitzpatrick at Nov 16, 2012 at 1:14 pm
    LGTM
    On Nov 16, 2012 2:10 AM, wrote:
    On 2012/11/15 11:01:55, minux wrote:

    Hello mailto:golang-dev@**googlegroups.com <golang-dev@googlegroups.com>,
    mailto:dave@cheney.net (cc:
    mailto:golang-dev@**googlegroups.com <golang-dev@googlegroups.com>),
    I'd like you to review this change to
    https://code.google.com/p/go
    dfc@qnap:~/go/src/pkg/crypto/**md5$ ~/go/misc/benchcmp {old,new}.txt
    benchmark old ns/op new ns/op delta
    BenchmarkHash8Bytes 4104 3417 -16.74%
    BenchmarkHash1K 22061 11208 -49.20%
    BenchmarkHash8K 146630 65148 -55.57%
    BenchmarkHash8BytesUnaligned 4128 3436 -16.76%
    BenchmarkHash1KUnaligned 22054 21473 -2.63%
    BenchmarkHash8KUnaligned 146658 146909 +0.17%

    benchmark old MB/s new MB/s speedup
    BenchmarkHash8Bytes 1.95 2.34 1.20x
    BenchmarkHash1K 46.42 91.36 1.97x
    BenchmarkHash8K 55.87 125.74 2.25x
    BenchmarkHash8BytesUnaligned 1.94 2.33 1.20x
    BenchmarkHash1KUnaligned 46.43 47.69 1.03x
    BenchmarkHash8KUnaligned 55.86 55.76 1.00x

    https://codereview.appspot.**com/6782072/<https://codereview.appspot.com/6782072/>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedNov 16, '12 at 10:18a
activeNov 16, '12 at 1:14p
posts2
users2
websitegolang.org

2 users in discussion

Dave: 1 post Brad Fitzpatrick: 1 post

People

Translate

site design / logo © 2022 Grokbase