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

JSON parsing performance issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • None

      Converting the "monster" string located in http://amos.fr.oracle.com/jmgt/tmp/jfdenise/cache.json into JS Object takes up to 1.5 minutes.
      The tescase (that requires nodejar to load the JSON file) is attached.

      CPU time is spent in getting PropertyMap properties (17% of time), computing PropertyMap hashcode (50% of time) and Property hashcode (20%)

            hannesw Hannes Wallnoefer
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: