[ 
https://issues.apache.org/jira/browse/TINKERPOP-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771172#comment-16771172
 ] 

Jorge Bay commented on TINKERPOP-2161:
--------------------------------------

I've pushed a pull requests that includes improvements to the write path: 
[https://github.com/apache/tinkerpop/pull/1065]

With this new approach, the benchmark results are the following:
{code:java}
Benchmark                                          Mode  Cnt         Score      
   Error  Units
SerializationBenchmark.testReadMessage1Binary     thrpt   20   4933443.595 ±  
108335.893  ops/s
SerializationBenchmark.testReadMessage1GraphSON   thrpt   20     34318.763 ±    
7782.995  ops/s
SerializationBenchmark.testReadMessage2Binary     thrpt   20    974269.201 ±   
27497.059  ops/s
SerializationBenchmark.testReadMessage2GraphSON   thrpt   20     29928.189 ±    
1187.881  ops/s
SerializationBenchmark.testWriteBytecodeBinary    thrpt   20    932400.254 ±   
24727.644  ops/s
SerializationBenchmark.testWriteBytecodeGraphSON  thrpt   20    690590.285 ±   
19508.398  ops/s
SerializationBenchmark.testWriteResponseBinary    thrpt   20   2629038.176 ±   
67510.162  ops/s
SerializationBenchmark.testWriteResponseGraphSON  thrpt   20    652272.129 ±   
20014.138  ops/s
{code}

> GraphBinary: Write serialization performance issue 
> ---------------------------------------------------
>
>                 Key: TINKERPOP-2161
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2161
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 3.4.0
>            Reporter: Jorge Bay
>            Priority: Major
>
> There seems to be a performance issue regarding the write path in GraphBinary:
> {code}
> Benchmark                                          Mode  Cnt         Score    
>      Error  Units
> SerializationBenchmark.testReadMessage1Binary     thrpt   20   4800832.981 ±  
> 430909.102  ops/s
> SerializationBenchmark.testReadMessage1GraphSON   thrpt   20     34109.669 ±  
>   5231.210  ops/s
> SerializationBenchmark.testReadMessage2Binary     thrpt   20    827266.707 ±  
>  78214.379  ops/s
> SerializationBenchmark.testReadMessage2GraphSON   thrpt   20     18462.919 ±  
>   2640.093  ops/s
> SerializationBenchmark.testWriteBytecodeBinary    thrpt   20    130486.109 ±  
>   5505.113  ops/s
> SerializationBenchmark.testWriteBytecodeGraphSON  thrpt   20    592658.686 ±  
>  68063.966  ops/s
> SerializationBenchmark.testWriteResponseBinary    thrpt   20    290240.715 ±  
>  25620.656  ops/s
> SerializationBenchmark.testWriteResponseGraphSON  thrpt   20    612832.036 ±  
>  48173.673  ops/s
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to