protobuf-go/proto
Damien Neil 53b05a5d53 proto: add simple benchmark
Run the encode/decode tests as benchmarks. These are trivial microbenchmarks
and not representative of real-world usage, but serve as a useful overview
of the relative cost of various operations and are handy for profiling
specific narrow scenarios.

When run with the -v1 flag, benchmark the v1 implementation for comparison.

Change-Id: I469dd6759bef50e2bd039327095f82d29d70b8fc
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/171120
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-04-08 18:36:24 +00:00
..
bench_test.go proto: add simple benchmark 2019-04-08 18:36:24 +00:00
decode_gen.go
decode_test.go proto: add IsInitialized 2019-04-05 22:21:46 +00:00
decode.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
encode_gen.go
encode_test.go proto: fix MarshalAppend fast path 2019-04-08 04:31:27 +00:00
encode.go proto: replace CachedSize fast-path method with UseCachedSize option 2019-04-08 05:14:36 +00:00
isinit_test.go proto: add IsInitialized 2019-04-05 22:21:46 +00:00
isinit.go proto: add IsInitialized 2019-04-05 22:21:46 +00:00
proto_methods.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
proto_reflect.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
proto.go proto: enable/disable fast path with build tags 2019-04-07 17:00:00 +00:00
size_gen.go
size.go proto: replace CachedSize fast-path method with UseCachedSize option 2019-04-08 05:14:36 +00:00