Home
last modified time | relevance | path

Searched refs:benchmarkDataset (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/benchmarks/protobuf.js/
Dprotobufjs_benchmark.js24 var benchmarkDataset =
28 benchmarkDataset.payload.forEach(function(onePayload) {
29 var message = getNewPrototype(benchmarkDataset.messageName);
35 benchmarkDataset.messageName, filename, "protobufjs");
38 benchmarkDataset.payload.forEach(function(onePayload) {
39 var protoType = getNewPrototype(benchmarkDataset.messageName);
44 var protoType = getNewPrototype(benchmarkDataset.messageName);
/external/protobuf/benchmarks/java/src/main/java/com/google/protobuf/
DProtoCaliperBenchmark.java102 private BenchmarkDataset benchmarkDataset; field in ProtoCaliperBenchmark
111 if (benchmarkDataset.getMessageName().equals("benchmarks.proto3.GoogleMessage1")) { in getMessageType()
113 } else if (benchmarkDataset.getMessageName().equals("benchmarks.proto2.GoogleMessage1")) { in getMessageType()
115 } else if (benchmarkDataset.getMessageName().equals("benchmarks.proto2.GoogleMessage2")) { in getMessageType()
117 } else if (benchmarkDataset.getMessageName(). in getMessageType()
120 } else if (benchmarkDataset.getMessageName(). in getMessageType()
125 + benchmarkDataset.getMessageName()); in getMessageType()
135 benchmarkDataset = BenchmarkDataset.parseFrom(inputData); in setUp()
139 benchmarkDataset = BenchmarkDataset.parseFrom(inputData); in setUp()
149 for (int i = 0; i < benchmarkDataset.getPayloadCount(); i++) { in setUp()
[all …]
/external/protobuf/benchmarks/js/
Djs_benchmark.js34 var benchmarkDataset =
38 benchmarkDataset.getPayloadList().forEach(function(onePayload) {
39 var message = getNewPrototype(benchmarkDataset.getMessageName());
45 benchmarkDataset.getMessageName(), filename, "js");
48 benchmarkDataset.getPayloadList().forEach(function(onePayload) {
49 var protoType = getNewPrototype(benchmarkDataset.getMessageName());
54 var protoType = getNewPrototype(benchmarkDataset.getMessageName());