You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Steven Moy (JIRA)" <ji...@apache.org> on 2014/05/07 01:28:26 UTC

[jira] [Commented] (AVRO-1504) Improve encoder performance

    [ 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)