benchmark thrift serialization