[
https://issues.apache.org/jira/browse/AVRO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967049#action_12967049
]
Justin Azoff commented on AVRO-709:
-----------------------------------
simple benchmark: python av_bench.py 100000
before:
Write 10.5160
Read 8.1207
after:
Write 7.0112
Read 3.5986
> 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
>
>
> 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.