Github user hyunsik commented on the pull request:

    https://github.com/apache/tajo/pull/322#issuecomment-68272663
  
    I carried out some simple benchmark in terms of serialized data size and 
(de)serialization speed. Protobuf-based serialization outperforms both 
serialized size and serialization speed. They also have similar deserialization 
speed.
    
    Test query:
    ```
    create table store1 as select p.deptName, sumtest(score) from dept as p, 
score group by p.deptName.
    ```
    
    ## Size
     * JSON serialized size: 9,597 bytes
     * Protobuf serialized size: 2,131 bytes
    
    ## Speed
    I used 10,000 iteration to measure times of serialization and 
deserialization.
    
    *Json*
    * Serialization: 5,265 msec
    * Deserialization; 10,269 msec
    
    *Protobuf*
    * Serialization: 1,779 msec
    * Deserialization: 10244 msec


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to