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

Justin Azoff commented on AVRO-709:
-----------------------------------

So there is probably a lot more that can be done here, but I thought it was 
worth sharing now since in my (limited) testing the deserialization time 
decreases by over 50%.

> 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.

Reply via email to