Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7, 6.8.0 Beta2
-
None
Description
I have a protobuf structure with over 100 fields.
When using the raw protoc tool to generate the .cc and .h files, and using the ParseFromArray function, it takes about 600ms to deserialize a total of 150k elements from a byte array.
However, it takes much longer when I switch to using Qt's built-in protobuf plugin. With QProtobufSerializer, it takes more than 2 seconds to deserialize only 10k elements.
I'm wondering if this behavior is by design or if I'm misusing the code, causing the performance issue.
Attachments
Issue Links
- relates to
-
QTBUG-124594 Protobuf deserialization is slow and the bottleneck for a vectormap application
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-127178 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
578094,2 | wip: optimize qstring deserialization | dev | qt/qtgrpc | Status: NEW | -2 | +1 |