test[protocol]add performance test of specific object

This commit is contained in:
aoyu
2023-02-27 12:04:36 +08:00
parent 1c32a576a0
commit e06e2d1aa8
10 changed files with 12594 additions and 22 deletions
@@ -28,3 +28,72 @@ message FloatObject{
float i=9;
float j=10;
}
message BytesObject{
bytes a=1;
bytes b=2;
bytes c=3;
bytes d=4;
bytes e=5;
bytes f=6;
bytes g=7;
bytes h=8;
bytes i=9;
bytes j=10;
}
message StringObject{
string a=1;
string b=2;
string c=3;
string d=4;
string e=5;
string f=6;
string g=7;
string h=8;
string i=9;
string j=10;
}
message ListIntegerObject{
repeated int32 a=1;
repeated int32 b=2;
repeated int32 c=3;
repeated int32 d=4;
repeated int32 e=5;
repeated int32 f=6;
repeated int32 g=7;
repeated int32 h=8;
repeated int32 i=9;
repeated int32 j=10;
}
message MapObject{
map<int32, string> a=1;
map<int32, string> b=2;
map<int32, string> c=3;
map<int32, string> d=4;
map<int32, string> e=5;
map<int32, string> f=6;
map<int32, string> g=7;
map<int32, string> h=8;
map<int32, string> i=9;
map<int32, string> j=10;
}
message InnerObject{
int32 x=1;
}
message InnerObjectObject{
InnerObject a=1;
InnerObject b=2;
InnerObject c=3;
InnerObject d=4;
InnerObject e=5;
InnerObject f=6;
InnerObject g=7;
InnerObject h=8;
InnerObject i=9;
InnerObject j=10;
}