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 :
= 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
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