Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3256

MarkupBuilder performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-rc-1
    • 1.6
    • XML Processing
    • None

    Description

      MarkupBuilder#escapeXmlValue uses an algorithm for XML escaping that has unneccessary space and time requirements.

      The attached patch (for trunk), while having less memory consumption, seems to increase the performance to factors between 5 and 25.

      Attachments

        1. patch-MarkupBuilder-trunk.txt
          6 kB
          Alexander Veit
        2. patch-MarkupBuilder-trunk.txt
          8 kB
          Alexander Veit
        3. patch-MarkupBuilder-trunk.txt
          8 kB
          Alexander Veit

        Activity

          People

            paulk Paul King
            veita Alexander Veit
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: