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

JDOM unparse performance decreases when unparsing an infoset generated via -I xml


    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • 2.0.0
    • None
    • Performance
    • None

      Say we parse a file and generate two infosets, one via -I xml and -I jdom. These two infosets are functionally the same, except that the one generated via -I xml has newlines and indentation. If we unparse using -I jdom with each of the different files, the one generated via -I xml is significantly slower than the one generated with -I jdom. This implies that there is a noticeable performance hit with whitespace in a JDOM tree. We should investigate if this is that case and determine a fix.

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