Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1860

Minimize the number of HashMap allocations/insertions in the Infoset

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Back End
    • Labels:
      None

      Description

      Performance testing found that the slot removal made in DAFFODIL-1854 caused performance degradation, sometimes up to 20% decreases. Profiling found that some of this is due to the allocations of the HashMap used for quickly looking up elements in the Infoset by QName. We should only allocate hashmaps when it's possible an element could be be used in an expression, which should improve performance.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfthompson Dave Thompson
                Reporter:
                slawrence Steve Lawrence
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m