Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10405

Switch to XML::LibXML for serializing XML WS responses

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2019-10-14
    • Component/s: Web service
    • Labels:
      None

      Description

      Currently, we have a custom XML serialization module at lib/MusicBrainz/XML.pm which creates blessed objects for every element, then serializes the entire tree recursively. Profiling I've done has shown that switching to XML::LibXML (which, as the name suggests, uses libxml2) would improve performance and reduce memory usage overall, most likely because it avoids overhead related to the number of Perl objects being created in our current implementation.

        Attachments

          Activity

            People

            • Assignee:
              bitmap Michael Wiencek
              Reporter:
              bitmap Michael Wiencek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2019-10-14