Created
December 26, 2013 05:57
-
-
Save yifan-gu/8130307 to your computer and use it in GitHub Desktop.
repeated vs seperate field
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
2 * int64 and 1 * int32 | |
BenchmarkPreAcceptProtoMarshal 5000000 480 ns/op 220.38 MB/s | |
5 * int32 | |
BenchmarkPreAcceptProtoMarshal 5000000 584 ns/op 188.23 MB/s | |
repeated(slice) type | |
BenchmarkPreAcceptProtoMarshal 1000000 1282 ns/op 266.76 MB/s | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
message PreAccept {
option (gogoproto.face) = true;
option (gogoproto.goproto_getters) = false;
}