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

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

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 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
(Empty)
1 syntax = "proto2";
2
3 package benchmarks;
4
5 option java_outer_classname = "GoogleSpeed";
6 option optimize_for = SPEED;
7
8 message SpeedMessage1 {
9 required string field1 = 1;
10 optional string field9 = 9;
11 optional string field18 = 18;
12 optional bool field80 = 80 [default=false];
13 optional bool field81 = 81 [default=true];
14 required int32 field2 = 2;
15 required int32 field3 = 3;
16 optional int32 field280 = 280;
17 optional int32 field6 = 6 [default=0];
18 optional int64 field22 = 22;
19 optional string field4 = 4;
20 repeated fixed64 field5 = 5;
21 optional bool field59 = 59 [default=false];
22 optional string field7 = 7;
23 optional int32 field16 = 16;
24 optional int32 field130 = 130 [default=0];
25 optional bool field12 = 12 [default=true];
26 optional bool field17 = 17 [default=true];
27 optional bool field13 = 13 [default=true];
28 optional bool field14 = 14 [default=true];
29 optional int32 field104 = 104 [default=0];
30 optional int32 field100 = 100 [default=0];
31 optional int32 field101 = 101 [default=0];
32 optional string field102 = 102;
33 optional string field103 = 103;
34 optional int32 field29 = 29 [default=0];
35 optional bool field30 = 30 [default=false];
36 optional int32 field60 = 60 [default=-1];
37 optional int32 field271 = 271 [default=-1];
38 optional int32 field272 = 272 [default=-1];
39 optional int32 field150 = 150;
40 optional int32 field23 = 23 [default=0];
41 optional bool field24 = 24 [default=false];
42 optional int32 field25 = 25 [default=0];
43 optional SpeedMessage1SubMessage field15 = 15;
44 optional bool field78 = 78;
45 optional int32 field67 = 67 [default=0];
46 optional int32 field68 = 68;
47 optional int32 field128 = 128 [default=0];
48 optional string field129 = 129 [default="xxxxxxxxxxxxxxxxxxxxx"];
49 optional int32 field131 = 131 [default=0];
50 }
51
52 message SpeedMessage1SubMessage {
53 optional int32 field1 = 1 [default=0];
54 optional int32 field2 = 2 [default=0];
55 optional int32 field3 = 3 [default=0];
56 optional string field15 = 15;
57 optional bool field12 = 12 [default=true];
58 optional int64 field13 = 13;
59 optional int64 field14 = 14;
60 optional int32 field16 = 16;
61 optional int32 field19 = 19 [default=2];
62 optional bool field20 = 20 [default=true];
63 optional bool field28 = 28 [default=true];
64 optional fixed64 field21 = 21;
65 optional int32 field22 = 22;
66 optional bool field23 = 23 [ default=false ];
67 optional bool field206 = 206 [default=false];
68 optional fixed32 field203 = 203;
69 optional int32 field204 = 204;
70 optional string field205 = 205;
71 optional uint64 field207 = 207;
72 optional uint64 field300 = 300;
73 }
74
75 message SpeedMessage2 {
76 optional string field1 = 1;
77 optional int64 field3 = 3;
78 optional int64 field4 = 4;
79 optional int64 field30 = 30;
80 optional bool field75 = 75 [default=false];
81 optional string field6 = 6;
82 optional bytes field2 = 2;
83 optional int32 field21 = 21 [default=0];
84 optional int32 field71 = 71;
85 optional float field25 = 25;
86 optional int32 field109 = 109 [default=0];
87 optional int32 field210 = 210 [default=0];
88 optional int32 field211 = 211 [default=0];
89 optional int32 field212 = 212 [default=0];
90 optional int32 field213 = 213 [default=0];
91 optional int32 field216 = 216 [default=0];
92 optional int32 field217 = 217 [default=0];
93 optional int32 field218 = 218 [default=0];
94 optional int32 field220 = 220 [default=0];
95 optional int32 field221 = 221 [default=0];
96 optional float field222 = 222 [default=0.0];
97 optional int32 field63 = 63;
98
99 repeated group Group1 = 10 {
100 required float field11 = 11;
101 optional float field26 = 26;
102 optional string field12 = 12;
103 optional string field13 = 13;
104 repeated string field14 = 14;
105 required uint64 field15 = 15;
106 optional int32 field5 = 5;
107 optional string field27 = 27;
108 optional int32 field28 = 28;
109 optional string field29 = 29;
110 optional string field16 = 16;
111 repeated string field22 = 22;
112 repeated int32 field73 = 73;
113 optional int32 field20 = 20 [default=0];
114 optional string field24 = 24;
115 optional SpeedMessage2GroupedMessage field31 = 31;
116 }
117 repeated string field128 = 128;
118 optional int64 field131 = 131;
119 repeated string field127 = 127;
120 optional int32 field129 = 129;
121 repeated int64 field130 = 130;
122 optional bool field205 = 205 [default=false];
123 optional bool field206 = 206 [default=false];
124 }
125
126 message SpeedMessage2GroupedMessage {
127 optional float field1 = 1;
128 optional float field2 = 2;
129 optional float field3 = 3 [default=0.0];
130 optional bool field4 = 4;
131 optional bool field5 = 5;
132 optional bool field6 = 6 [default=true];
133 optional bool field7 = 7 [default=false];
134 optional float field8 = 8;
135 optional bool field9 = 9;
136 optional float field10 = 10;
137 optional int64 field11 = 11;
138 }
OLDNEW
« no previous file with comments | « third_party/protobuf/benchmarks/google_size.proto ('k') | third_party/protobuf/benchmarks/readme.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698