-
Enhancement
-
Resolution: Fixed
-
P3
-
1.4.2_08, 6
javac performance has severly regressed since 1.4.2.
We noticed this first because deployment of applications within the application server regressed when the application server moved to using 1.5. J2EE applications include JSP files that are precompiled and generated EJB classes that are compiled. We see up to a 10% regression in deployment time on the appserver. [Deployment time includes many other operations than compiling -- actual compilation time is worse, as I explain next.]
Actual compilation performance seems to be about 45% worse. I gathered up a the SPECjAppServer 2002 benchmark (about 300 java class files) and compiled it with 1.4.2_06 and 1.5. I tried a variety of 1.5 options (-source 1.2/1.4/1.5; -target 1.2/1.4/1.5 etc.). Tests were run on single CPU and multiple CPU machines running Solaris/Sparc, Solaris x86, Windows 2003 and Linux. In general, it took 45% longer to compile these classes with 1.5 than 1.4.
###@###.### 10/29/04 17:21 GMT
We noticed this first because deployment of applications within the application server regressed when the application server moved to using 1.5. J2EE applications include JSP files that are precompiled and generated EJB classes that are compiled. We see up to a 10% regression in deployment time on the appserver. [Deployment time includes many other operations than compiling -- actual compilation time is worse, as I explain next.]
Actual compilation performance seems to be about 45% worse. I gathered up a the SPECjAppServer 2002 benchmark (about 300 java class files) and compiled it with 1.4.2_06 and 1.5. I tried a variety of 1.5 options (-source 1.2/1.4/1.5; -target 1.2/1.4/1.5 etc.). Tests were run on single CPU and multiple CPU machines running Solaris/Sparc, Solaris x86, Windows 2003 and Linux. In general, it took 45% longer to compile these classes with 1.5 than 1.4.
###@###.### 10/29/04 17:21 GMT
- relates to
-
JDK-6225605 Speed up indexing of Jar files and reduce compile time by 10%
- Resolved
-
JDK-4770745 Iterating over ZipFile entries is very slow when using network file systems
- Resolved
-
JDK-5023037 ergonomics conflict with javac
- Resolved
-
JDK-6235792 (cl) improve performance penalty of loading classes from CLASSPATH versus BOOTCLASSPATH
- Resolved
-
JDK-4954610 improved javac compile time, please
- Closed