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.