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

Switch to XML::LibXML for serializing XML WS responses

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Normal Normal
    • 2019-10-14
    • None
    • Web service
    • None

      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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2019-10-14