Created
July 13, 2014 23:53
-
-
Save yifan-gu/bd163aea78c7f1183072 to your computer and use it in GitHub Desktop.
benchmark of the messenger/codec/gogoprotobuf_codec.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== RUN TestGoGoProtobufCodec | |
--- PASS: TestGoGoProtobufCodec (0.00 seconds) | |
PASS | |
BenchmarkGoGoProtobufWithoutReflectMarshal 5000000 704 ns/op | |
BenchmarkGoGoProtobufWithoutReflectUnmarshal 1000000 1313 ns/op | |
BenchmarkGoGoProtoBufCodecMarshal 1000000 1726 ns/op | |
BenchmarkGoGoProtoBufCodecUnmarshal 1000000 2098 ns/op | |
ok github.com/go-distributed/messenger/codec 9.437s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment