Lines Matching +full:google +full:- +full:benchmark
2 // Protocol Buffers - Google's data interchange format
3 // Copyright 2019 Google Inc. All rights reserved.
16 // * Neither the name of Google Inc. nor the names of its
39 using Google.Protobuf.WellKnownTypes;
41 namespace Google.Protobuf.Benchmarks
44 /// Benchmark that tests writing performance for various messages.
62 [Benchmark]
68 [Benchmark]
74 [Benchmark]
81 [Benchmark]
87 [Benchmark]
93 [Benchmark]
99 [Benchmark]
105 [Benchmark]
111 [Benchmark]
117 [Benchmark]
124 [Benchmark]
131 [Benchmark]
138 [Benchmark]
164 var cos = new CodedOutputStream(outputBuffer); // use pre-existing output buffer in WriteToCodedOutputStream_PreAllocatedBuffer()
171 var span = new Span<byte>(outputBuffer); // use pre-existing output buffer in WriteToSpan_PreAllocatedBuffer()
178 … var cos = new CodedOutputStream(multipleMessagesOutputBuffer); // use pre-existing output buffer in WriteDelimitedMessagesToCodedOutputStream_PreAllocatedBuffer()
188 … var span = new Span<byte>(multipleMessagesOutputBuffer); // use pre-existing output buffer in WriteDelimitedMessagesToSpan_PreAllocatedBuffer()