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

Minimize the number of HashMap allocations/insertions in the Infoset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Back End
    • 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

              dfthompson Dave Thompson
              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