PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/thirdparty/breakpad/third_party/protobuf/protobuf/benchmarks/google_speed.proto

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