Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: third_party/protobuf/benchmarks/benchmark_messages_proto2.proto

Issue 2600753002: Reverts third_party/protobuf: Update to HEAD (f52e188fe4) (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Benchmark messages for proto2. 1 // Benchmark messages for proto2.
2 2
3 syntax = "proto2"; 3 syntax = "proto2";
4 4
5 package benchmarks.proto2; 5 package benchmarks.proto2;
6 option java_package = "com.google.protobuf.benchmarks"; 6 option java_package = "com.google.protobuf.benchmarks";
7 7
8 // This is the default, but we specify it here explicitly. 8 // This is the default, but we specify it here explicitly.
9 option optimize_for = SPEED; 9 option optimize_for = SPEED;
10 10
11 option cc_enable_arenas = true;
12
13 message GoogleMessage1 { 11 message GoogleMessage1 {
14 required string field1 = 1; 12 required string field1 = 1;
15 optional string field9 = 9; 13 optional string field9 = 9;
16 optional string field18 = 18; 14 optional string field18 = 18;
17 optional bool field80 = 80 [default=false]; 15 optional bool field80 = 80 [default=false];
18 optional bool field81 = 81 [default=true]; 16 optional bool field81 = 81 [default=true];
19 required int32 field2 = 2; 17 required int32 field2 = 2;
20 required int32 field3 = 3; 18 required int32 field3 = 3;
21 optional int32 field280 = 280; 19 optional int32 field280 = 280;
22 optional int32 field6 = 6 [default=0]; 20 optional int32 field6 = 6 [default=0];
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 optional float field3 = 3 [default=0.0]; 132 optional float field3 = 3 [default=0.0];
135 optional bool field4 = 4; 133 optional bool field4 = 4;
136 optional bool field5 = 5; 134 optional bool field5 = 5;
137 optional bool field6 = 6 [default=true]; 135 optional bool field6 = 6 [default=true];
138 optional bool field7 = 7 [default=false]; 136 optional bool field7 = 7 [default=false];
139 optional float field8 = 8; 137 optional float field8 = 8;
140 optional bool field9 = 9; 138 optional bool field9 = 9;
141 optional float field10 = 10; 139 optional float field10 = 10;
142 optional int64 field11 = 11; 140 optional int64 field11 = 11;
143 } 141 }
OLDNEW
« no previous file with comments | « third_party/protobuf/benchmarks/Makefile.am ('k') | third_party/protobuf/benchmarks/benchmark_messages_proto3.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698