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

Regression: Performance degradation with java.beans.XMLEncoder

XMLWordPrintable

    • b66
    • 7
    • b03
    • generic, x86
    • generic, windows_xp

        SYNOPSIS
        ---------
        Performance degradation with java.beans.XMLEncoder

        OPERATING SYSTEM
        ----------------
        All

        FULL JDK VERSION
        ----------------
        JDK 7 (tested with b146)
        Performance first regressed in either JDK 7 b65 or JDK 7 b66.
        Degradation became worse in b71 or b72.
        For JDK 6, became slightly worse in 6u25. Not reproducible in 6u24.

        REPRODUCTION INSTRUCTIONS
        -------------------------
        1. Compile the two attached Java classes.
        2. Run "java JavaBeanXmlEncoder"

        Comparison of results from 7b64, 7b66, and 7b72:

        ---- 7b64 ----
        Encoding to a file .....
        Total Time taken for Encoding as XML = 1032 in Millsecond
        -------------

        ---- 7b66 ----
        Encoding to a file .....
        Total Time taken for Encoding as XML = 6141 in Millsecond
        -------------

        ---- 7b72 ----
        Encoding to a file .....
        Total Time taken for Encoding as XML = 7954 in Millsecond
        -------------

        TESTCASE
        --------
        See attachments.

              malenkov Sergey Malenkov (Inactive)
              dkorbel David Korbel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: