Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-581

Picard XML processing should use lxml module rather than QXmlStreamReader

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Low Low
    • 2.0
    • 1.2
    • Other
    • None

      Analysis of Picard code performance requested by Michael Wiencek indicated that a significant level of CPU time is spent processing webservice xml using bespoke loop and QXmlStreamReader to produce a list / dict hierarchy that is then navigated.

      An improvement would be to use the python standard xml.etree.cElementTree module, however this would not produce the same object as the existing code, and therefore all code that navigates the existing hierarchy would need to change to use the etree interface.

      This would be a significant change, not to be undertaken lightly, but would improve performance and make xml processing more standard.

            Unassigned Unassigned
            sophist Sophist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.0