Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1753

Performance regression due to new parse API()

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • None
    • None
    • None

      The parse API change in commit 26ca5076a802b9c953ed89f9715c8f042a0ec290 added some allocations inside the main performance loop. These allocations resulted in lower performance numbers for small files. We really should be testing larger files so that this small allocations don't have an affect, but we should at least make this loop is minimal as possible. For example, we currently allocate a BufferedWriter even if it won't be used. We should only do the minimum that someone would need to perform in a real world situation.

              dthompson David Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: