OLD | NEW |
1 // Benchmark messages for proto3. | 1 // Benchmark messages for proto3. |
2 | 2 |
3 syntax = "proto3"; | 3 syntax = "proto3"; |
4 | 4 |
5 package benchmarks.proto3; | 5 package benchmarks.proto3; |
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 string field1 = 1; | 12 string field1 = 1; |
15 string field9 = 9; | 13 string field9 = 9; |
16 string field18 = 18; | 14 string field18 = 18; |
17 bool field80 = 80; | 15 bool field80 = 80; |
18 bool field81 = 81; | 16 bool field81 = 81; |
19 int32 field2 = 2; | 17 int32 field2 = 2; |
20 int32 field3 = 3; | 18 int32 field3 = 3; |
21 int32 field280 = 280; | 19 int32 field280 = 280; |
22 int32 field6 = 6; | 20 int32 field6 = 6; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 fixed64 field21 = 21; | 67 fixed64 field21 = 21; |
70 int32 field22 = 22; | 68 int32 field22 = 22; |
71 bool field23 = 23; | 69 bool field23 = 23; |
72 bool field206 = 206; | 70 bool field206 = 206; |
73 fixed32 field203 = 203; | 71 fixed32 field203 = 203; |
74 int32 field204 = 204; | 72 int32 field204 = 204; |
75 string field205 = 205; | 73 string field205 = 205; |
76 uint64 field207 = 207; | 74 uint64 field207 = 207; |
77 uint64 field300 = 300; | 75 uint64 field300 = 300; |
78 } | 76 } |
OLD | NEW |