We have a fairly big protobuf (~37MB). Here is the breakup of times:
Serializing proto to binary std::string ~= 110ms
Serializing proto to json std::string ~= 4200ms (size ~ 115MB)
Parsing from binary std::string ~= 700ms
Parsing from json std::string ~= 35 mins !!!!!
Parsing same json using rapidjson ~= 800ms
Code I used to serialize and parse:
Surely this is a not as expected right?
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.