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