syncthing/vendor/github.com/gogo/protobuf/test/mixbench/marshaler.txt
Jakob Borg 987718baf8 vendor: Update github.com/gogo/protobuf
Also tweaks the proto definitions:

 - [packed=false] on the block_indexes field to retain compat with
   v0.14.16 and earlier.

 - Uses the vendored protobuf package in include paths.

And, "build.go setup" will install the vendored protoc-gen-gogofast.
This should ensure that a proto rebuild isn't so dependent on whatever
version of the compiler and package the developer has installed...

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3864
2017-01-03 00:16:21 +00:00

50 lines
3.6 KiB
Plaintext

PASS
BenchmarkNidOptNativeProtoMarshal-4 5000000 558 ns/op 665.90 MB/s
BenchmarkNinOptNativeProtoMarshal-4 5000000 632 ns/op 537.89 MB/s
BenchmarkNidRepNativeProtoMarshal-4 200000 9070 ns/op 781.29 MB/s
BenchmarkNinRepNativeProtoMarshal-4 200000 8943 ns/op 792.42 MB/s
BenchmarkNidRepPackedNativeProtoMarshal-4 200000 8142 ns/op 419.65 MB/s
BenchmarkNinRepPackedNativeProtoMarshal-4 200000 8114 ns/op 421.11 MB/s
BenchmarkNidOptStructProtoMarshal-4 1000000 2018 ns/op 697.03 MB/s
BenchmarkNinOptStructProtoMarshal-4 1000000 1919 ns/op 661.19 MB/s
BenchmarkNidRepStructProtoMarshal-4 100000 11442 ns/op 771.31 MB/s
BenchmarkNinRepStructProtoMarshal-4 200000 10742 ns/op 821.60 MB/s
BenchmarkNidEmbeddedStructProtoMarshal-4 1000000 1203 ns/op 624.73 MB/s
BenchmarkNinEmbeddedStructProtoMarshal-4 1000000 1135 ns/op 627.68 MB/s
BenchmarkNidNestedStructProtoMarshal-4 50000 56182 ns/op 658.50 MB/s
BenchmarkNinNestedStructProtoMarshal-4 50000 49802 ns/op 742.37 MB/s
BenchmarkNidOptCustomProtoMarshal-4 5000000 303 ns/op 233.89 MB/s
BenchmarkNinOptCustomProtoMarshal-4 10000000 280 ns/op 238.94 MB/s
BenchmarkNidRepCustomProtoMarshal-4 5000000 604 ns/op 299.21 MB/s
BenchmarkNinRepCustomProtoMarshal-4 5000000 599 ns/op 301.77 MB/s
BenchmarkNinOptNativeUnionProtoMarshal-4 10000000 196 ns/op 158.04 MB/s
BenchmarkNinOptStructUnionProtoMarshal-4 5000000 384 ns/op 288.81 MB/s
BenchmarkNinEmbeddedStructUnionProtoMarshal-4 5000000 662 ns/op 363.93 MB/s
BenchmarkNinNestedStructUnionProtoMarshal-4 5000000 502 ns/op 260.48 MB/s
BenchmarkTreeProtoMarshal-4 5000000 558 ns/op 451.53 MB/s
BenchmarkOrBranchProtoMarshal-4 2000000 992 ns/op 553.08 MB/s
BenchmarkAndBranchProtoMarshal-4 2000000 998 ns/op 550.04 MB/s
BenchmarkLeafProtoMarshal-4 5000000 523 ns/op 462.20 MB/s
BenchmarkDeepTreeProtoMarshal-4 5000000 691 ns/op 429.41 MB/s
BenchmarkADeepBranchProtoMarshal-4 2000000 787 ns/op 424.31 MB/s
BenchmarkAndDeepBranchProtoMarshal-4 1000000 1329 ns/op 477.67 MB/s
BenchmarkDeepLeafProtoMarshal-4 5000000 639 ns/op 453.35 MB/s
BenchmarkNilProtoMarshal-4 10000000 189 ns/op 184.92 MB/s
BenchmarkNidOptEnumProtoMarshal-4 10000000 216 ns/op 170.86 MB/s
BenchmarkNinOptEnumProtoMarshal-4 10000000 209 ns/op 171.60 MB/s
BenchmarkNidRepEnumProtoMarshal-4 10000000 237 ns/op 180.80 MB/s
BenchmarkNinRepEnumProtoMarshal-4 10000000 235 ns/op 182.93 MB/s
BenchmarkNinOptEnumDefaultProtoMarshal-4 10000000 209 ns/op 171.51 MB/s
BenchmarkAnotherNinOptEnumProtoMarshal-4 10000000 211 ns/op 170.44 MB/s
BenchmarkAnotherNinOptEnumDefaultProtoMarshal-4 10000000 214 ns/op 167.95 MB/s
BenchmarkTimerProtoMarshal-4 5000000 344 ns/op 305.21 MB/s
BenchmarkMyExtendableProtoMarshal-4 5000000 695 ns/op 115.09 MB/s
BenchmarkOtherExtenableProtoMarshal-4 1000000 1295 ns/op 121.15 MB/s
BenchmarkNestedDefinitionProtoMarshal-4 2000000 906 ns/op 501.69 MB/s
BenchmarkNestedDefinition_NestedMessageProtoMarshal-4 5000000 537 ns/op 438.85 MB/s
BenchmarkNestedDefinition_NestedMessage_NestedNestedMsgProtoMarshal-4 5000000 479 ns/op 442.52 MB/s
BenchmarkNestedScopeProtoMarshal-4 2000000 862 ns/op 518.19 MB/s
BenchmarkNinOptNativeDefaultProtoMarshal-4 2000000 758 ns/op 448.10 MB/s
BenchmarkCustomContainerProtoMarshal-4 5000000 390 ns/op 276.58 MB/s
ok github.com/gogo/protobuf/test/mixbench/testdata 190.796s