Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-709

Some python speedups

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • python
    • None
    • linux

    • performance

    Description

      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.

      Attachments

        1. 0001-python-speedups.patch
          2 kB
          Justin Azoff
        2. av_bench.py
          1 kB
          Justin Azoff

        Issue Links

          Activity

            People

              justinazoff Justin Azoff
              justinazoff Justin Azoff
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: