You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Justin Azoff (JIRA)" <ji...@apache.org> on 2010/12/06 01:02:10 UTC

[jira] Updated: (AVRO-709) Some python speedups

     [ https://issues.apache.org/jira/browse/AVRO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Azoff updated AVRO-709:
------------------------------

    Attachment: 0001-python-speedups.patch
                av_bench.py

uploaded benchmark and patch

> Some python speedups
> --------------------
>
>                 Key: AVRO-709
>                 URL: https://issues.apache.org/jira/browse/AVRO-709
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 1.5.0
>         Environment: linux
>            Reporter: Justin Azoff
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: 0001-python-speedups.patch, av_bench.py
>
>
> I did some basic profiling of the python library and found it spent most of it's time looking up the properties.
> Converting them to plain class members speeds things up quite a bit.  using __slots__ would probably improve things even more.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.