Re: Performance comparison of Thrift, JSON and Protocol Buffers

2009-04-16 Thread TimYang
I've made two similar tests in Java, comparing Thrift and Protocol Buffers, and here is the result. Without optimize_for = SPEED Thrift Loop: 10,000,000 Get object : 14,394msec Serdes thrift : 37,671msec Objs per second: 265,456 Total bytes: 1,130,000,000 ProtoBuf Loop :

Re: Performance comparison of Thrift, JSON and Protocol Buffers

2009-04-17 Thread TimYang
= SPEED is slower than without. On Fri, Apr 17, 2009 at 4:45 AM, TimYang iso1...@gmail.com wrote: I've made two similar tests in Java, comparing Thrift and Protocol Buffers, and here is the result. Without optimize_for = SPEED Thrift Loop    : 10,000,000 Get object     : 14,394msec

Re: Performance comparison of Thrift, JSON and Protocol Buffers

2009-04-20 Thread TimYang
I'm using Sun's java version 1.6.0 on a 64-bit CentOS 5.2 On 64bit Linux, -server is the default option. On Apr 20, 4:16 am, Jon Skeet sk...@pobox.com sk...@pobox.com wrote: On Apr 18, 4:23 am, TimYang iso1...@gmail.com wrote: Alkis is quite right, sorry for the typo. Which JIT were you