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/12 20:55:15 UTC
[jira] [Commented] (AVRO-1504) Improve python implementation
performance
[ https://issues.apache.org/jira/browse/AVRO-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995465#comment-13995465 ]
Steven Moy commented on AVRO-1504:
----------------------------------
Latest improvement:
Before:
{code}
~/github/avro/lang/py/src (trunk) $ PYTHONPATH=. python ../test/av_bench.py 10000
Write 0.6444
Read 0.3712
{code}
After:
{code}
~/github/avro/lang/py/src (smoy_reader_performance) $ PYTHONPATH=. python ../test/av_bench.py 10000
Write 0.5358
Read 0.1624
{code}
> Improve python implementation 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 performance for python implementation.
> Patch soon follow:
> https://github.com/smoy/avro/commits/smoy_reader_performance
> relevant commits
> * 71220bb4a84c7aa4d42b593a2c0f7cefa8cda82d
> * 542139ce1a40492c9234ee5f84a4410515877af4
> * 2f7a0ef8d02148cf69269f5b59f89481e7c86d34
--
This message was sent by Atlassian JIRA
(v6.2#6252)