Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1897

Improve QNameFactory performance

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: High High
    • Sodium, Neon SR2
    • None
    • clustering
    • None

      Profiling performance of snapshot reads is showing that NormalizedNodeInputStreamReader.readQName() is dominating, taking 53% of total CPU cycles. Of this, 43% is spent in QNameFactory.create(String) and 19% creating Strings for that lookup.

      Rework QNameFactory.create() to work on structured data holding namespace/revision/localName without having to concatenate, which will save the string manipulation as well as speeding up hash-based lookup (as component String hashcodes are likely to be pre-computed).

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: