Searched refs:MaxMessages (Results 1 – 2 of 2) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
D | ParseMessagesBenchmark.cs | 50 const int MaxMessages = 100; field in Google.Protobuf.Benchmarks.ParseMessagesBenchmark 52 …eldsMessage(), ManyWrapperFieldsMessage.Parser, () => new ManyWrapperFieldsMessage(), MaxMessages); 53 …Message(), ManyPrimitiveFieldsMessage.Parser, () => new ManyPrimitiveFieldsMessage(), MaxMessages); 54 …Test(CreateRepeatedFieldMessage(), GoogleMessage1.Parser, () => new GoogleMessage1(), MaxMessages); 55 … SubTest emptyMessageTest = new SubTest(new Empty(), Empty.Parser, () => new Empty(), MaxMessages);
|
D | WriteMessagesBenchmark.cs | 49 const int MaxMessages = 100; field in Google.Protobuf.Benchmarks.WriteMessagesBenchmark 51 …pperFieldsTest = new SubTest(ParseMessagesBenchmark.CreateManyWrapperFieldsMessage(), MaxMessages); 52 …veFieldsTest = new SubTest(ParseMessagesBenchmark.CreateManyPrimitiveFieldsMessage(), MaxMessages); 53 SubTest emptyMessageTest = new SubTest(new Empty(), MaxMessages);
|