On Mar 7, 2010, at 20:36 , Oliver Jowett wrote:
Benchmarking benchmarks.GoogleSpeed$SpeedMessage1 with file google_message1.dat Deserialize from byte string: 17471413 iterations in 30.074s; 126.3199MB/s Deserialize from byte array: 17389320 iterations in 30.009s; 125.99868MB/s Deserialize from memory stream: 5050944 iterations in 29.372s; 37.391594MB/s
I wonder what's happening in the first memory stream case to make it 3x slower than everything else?

I just dug up some results from the last time I was playing with ProtoBench, and I got the results being slower, but not 3X. This was on Linux, on a recent Intel Core i7 Xeon (Nehalem architecture), with SpeedMessage1:

Deserialize from byte string: 25450873 iterations in 30.007s; 184.42299MB/s Deserialize from byte array: 25368774 iterations in 29.745s; 185.44727MB/s Deserialize from memory stream: 15248317 iterations in 29.285s; 113.21699MB/s

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 proto...@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