avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Moy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1504) Improve encoder performance
Date Tue, 06 May 2014 23:28:26 GMT

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

Steven Moy commented on AVRO-1504:
----------------------------------

before:

{code}
~/github/avro/lang/py/src (trunk) $ PYTHONPATH=. python ../test/av_bench.py 10000
Write 0.6488
Read 0.3794
{code}

after: 

{code}
~/github/avro/lang/py/src (smoy_writer_performance) $ PYTHONPATH=. python ../test/av_bench.py
10000
Write 0.5817
Read 0.3842
{code}

> Improve encoder performance
> ---------------------------
>
>                 Key: AVRO-1504
>                 URL: https://issues.apache.org/jira/browse/AVRO-1504
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Steven Moy
>         Attachments: AVRO-1504.patch
>
>
> Inspired by https://www.python.org/doc/essays/list2str/, there are some low hanging fruit
to increase the writer performance for python implementation.
> Patch soon follow:
> https://github.com/smoy/avro/commit/71220bb4a84c7aa4d42b593a2c0f7cefa8cda82d



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message