Currently, the benchmark result shows that CPP implementation is slower 
than Java implementation. This is mainly caused by malloc things.
Some solution is linking tcmalloc 
<https://gperftools.github.io/gperftools/tcmalloc.html> library which can 
be built from gperftools <https://github.com/gperftools/gperftools> repo. 
<https://gperftools.github.io/gperftools.> This will make the CPP 
implementation about 2.0x faster.

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to