On Oct 30, 2009, at 22:24 , jta23 wrote:
> The protobuf version of my code uses about 950MB of memory (the Java
> Serializable version is only using around 650MB) and I had the java -
> Xmx flag set too low; in reality protobuf is extremely fast compared
> to Java Serializable:

Hm. It is a little interesting that it would use so much more memory  
than using Java serializable ...

> Protocol Buffers (CodedOutputStream, but no flush() after each write):
> 76,600 msgs/sec

This is what I was attempting to describe (one flush() after writing  
all messages). This matches my expectations that this should be a  
little faster, which is nice.

Evan

--
Evan Jones
http://evanjones.ca/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to