C++序列化库
1024条字符串,序列化和反序列化10000次
serializer | version | count | size | time |
---|---|---|---|---|
protobuf | 5027000 | 10000 | 1469032 | 2598 |
lnserializer | 1001 | 10000 | 1474239 | 977 |
lnserializer-compact | 1001 | 10000 | 1468069 | 1066 |
yas | 7.2.0 | 10000 | 1474239 | 7589 |
yas-compact | 7.2.0 | 10000 | 1468916 | 7804 |
cereal | 1.3.2 | 10000 | 1474239 | 14045 |
859个整数,序列化和反序列化1000000次
serializer | version | count | size | time |
---|---|---|---|---|
protobuf | 5027000 | 1000000 | 4573 | 5137 |
lnserializer | 1001 | 1000000 | 6896 | 134 |
lnserializer-compact | 1001 | 1000000 | 4495 | 7986 |
yas | 7.2.0 | 1000000 | 6896 | 320 |
yas-compact | 7.2.0 | 1000000 | 4857 | 6371 |
cereal | 1.3.2 | 1000000 | 6896 | 2090 |
3498个浮点数,序列化和反序列化1000000次
serializer | version | count | size | time |
---|---|---|---|---|
protobuf | 5027000 | 1000000 | 27988 | 1144 |
lnserializer | 1001 | 1000000 | 28008 | 1231 |
lnserializer-compact | 1001 | 1000000 | 27988 | 1128 |
yas | 7.2.0 | 1000000 | 28008 | 1990 |
yas-compact | 7.2.0 | 1000000 | 27989 | 6997 |
cereal | 1.3.2 | 1000000 | 28008 | 4626 |
1024条字符串, 859个整数,3498个浮点数,序列化和反序列化10000次
serializer | version | count | size | time |
---|---|---|---|---|
protobuf | 5027000 | 10000 | 1501593 | 2707 |
lnserializer | 1001 | 10000 | 1509095 | 996 |
lnserializer-compact | 1001 | 10000 | 1500546 | 1157 |
yas | 7.2.0 | 10000 | 1509095 | 8324 |
yas-compact | 7.2.0 | 10000 | 1501756 | 9480 |
cereal | 1.3.2 | 10000 | 1509095 | 15615 |