Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8114733

generate-tree-js.js need to be optimized

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: install

      Description

      Recent enhancements in the installer are costly. We need to improve it.

      One source of issues is js script used to generate xml file.

      Problem there is that it use string concatenation to append to xml string that gets up to 11Mb long ... This is very slow.

      I tried trivial change to append to local variable and then append to passed xml at the end of recursive functionand this seem to help a lot.
      However, it will be much faster if we will change it to not return string at all but print it in place.

        Attachments

          Activity

            People

            • Assignee:
              billyh William Harnois
              Reporter:
              igor Igor Nekrestyanov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: