I ran some performance measurements on the HotSpot alpha1_F build. I ran two tests to measure applet and application launch times on JDK1.2 Beta 2 Classic VM performance and HotSpot performance. I ran tests on the following configuration:
CPU: 166 MHz Pentium
Operating System: Windows 95
JDK: 1.2Beta2
Classic VM version: 1.2Beta2
HotSpot version: alpha1_F
The tests are user level perceived tests, which simply measures how long a user has to wait for something to happen. The results show that HotSpot is slow at launching applets and applications. See the data from the following results.
Performance sample #1: Launch HotJava Browser.
Measured time required to launch Hot Java Browser from the time the DOS shell command was executed till the time the "What's Hot in HotJava" screen is initially drawn.
Iteration Classic HotSpot
1 15 sec. 40 sec.
2 14 sec. 39 sec.
3 12 sec. 40 sec.
4 14 sec. 42 sec.
Average 14 sec. 40 sec.
Performance sample #2: Launch JDK 1.2 Clock demo applet using AppletViewer.
Measured time required to launch Clock demo from the time the DOS shell command was executed till the clock has completed drawing.
Classic HotSpot HotSpot HotSpot
Iteration interpreted interpreted mixed compiled
1 12 sec. 14 sec. 17 sec. 25 sec.
2 6 sec. 12 sec. 15 sec. 23 sec.
3 6 sec. 13 sec. 15 sec. 23 sec.
4 6 sec. 13 sec. 16 sec. 24 sec.
Average 6 sec. 13 sec. 15 sec. 23 sec.
HotSpot is suppose to be faster than classic VM on JDK 1.2. Currently, launch times are almost twice as slow on HotSpot under the best conditions.
CPU: 166 MHz Pentium
Operating System: Windows 95
JDK: 1.2Beta2
Classic VM version: 1.2Beta2
HotSpot version: alpha1_F
The tests are user level perceived tests, which simply measures how long a user has to wait for something to happen. The results show that HotSpot is slow at launching applets and applications. See the data from the following results.
Performance sample #1: Launch HotJava Browser.
Measured time required to launch Hot Java Browser from the time the DOS shell command was executed till the time the "What's Hot in HotJava" screen is initially drawn.
Iteration Classic HotSpot
1 15 sec. 40 sec.
2 14 sec. 39 sec.
3 12 sec. 40 sec.
4 14 sec. 42 sec.
Average 14 sec. 40 sec.
Performance sample #2: Launch JDK 1.2 Clock demo applet using AppletViewer.
Measured time required to launch Clock demo from the time the DOS shell command was executed till the clock has completed drawing.
Classic HotSpot HotSpot HotSpot
Iteration interpreted interpreted mixed compiled
1 12 sec. 14 sec. 17 sec. 25 sec.
2 6 sec. 12 sec. 15 sec. 23 sec.
3 6 sec. 13 sec. 15 sec. 23 sec.
4 6 sec. 13 sec. 16 sec. 24 sec.
Average 6 sec. 13 sec. 15 sec. 23 sec.
HotSpot is suppose to be faster than classic VM on JDK 1.2. Currently, launch times are almost twice as slow on HotSpot under the best conditions.