The Plasma Benchmark

Source

This applet creates an animated display by continuously summing four sine waves into an array and drawing this array in the applet window. Use it to measure the graphics and "CPU" performance of your Java virtual machine. Send results (in frames per second) to wayne@codon.nih.gov.

There is newer version of the benchmark (Plasma2) that uses a 640x480 window, draws the image to the screen at 1:1 and synchronizes image generation and image display.

FPS System Viewer
876 P4/3.4, WinXP IE 6.0/Java 1.5.0
808 P4/3.2, WinXP IE 6.0/Java 1.4.2
750 P4/2.8, WinXP IE 6.0/Java 1.4.2
749 P4/3.2, Linux Mozilla 1.6/Java 1.4.2
661 P4/3.0, WinXP AppletViewer/Java 1.4.2
476 Athlon 1600MP, Win2K IE 6.0/Java 1.4
384 P4/3.0, WinXP IE 6.0/Microsoft Java 1.1.4
368 Athlon/1.2, Win2K JDK 1.4
315 Athlon/1.2, Win2K IE 5.0
291 Xeon/1.7x2, WinXP IE 6.0
240 Athlon/1.2, Win98 IE 5.5
228 P4/1.4, Win2000 Netscape 4.73
191 P4/1.4, Win2000 IE 5.0
188 P3/750, WinNT Netscape 4.72
173 P3/1.0, WinME IE 5.0
169 Athlon/1.0, WinME IE 5.5
147 P3/750, WinNT IE 5.0
119 P3/500, Win98 Netscape 4.51
116 P3/500, Win2K Netscape 4.08
113 P2/450, WinNT Netscape 4.5b1
109 P2/400, WinNT Visual Cafe 2.5
101 P2/400, Win95 JDK 1.1.7
92 P3/500, Win2K IE 5.0
88 P2/400, WinNT IE 4.01
87 P2/400, Win95 HotJava 1.1.5
80 P2/300, WinNT Visual Cafe 2.5
77 P2/300, WinNT JDK 1.1.8
76 P2/400, Win95 JDK 1.3 (drops to 6 fps after 40 secs!)
70 Celeron/400, Win98 JDK 1.1.6
65 K6-2/350, Win98 Netscape 4.5
65 P2/300, WinNT IE 4.0
65 P2/266x2, WinNT Netscape 4.04
64 K6-2/350, Win98 IE 4.01
64 P2/266x2, WinNT IE 4.0
63 PPC G4/500x2, MacOS IE 5.0
61 PPC G3/400, MacOS MRJ Applet Runner
60 P2/400, Win95 JDK 1.2
60 P2/300, Win95 JDK 1.1.7
60 Celeron/400, Win98 Netscape 4.05
58 Celeron/400, Win98 IE 4.0
57 P2/266, WinNT IE 4.01
55 P2/300, WinNT Netscape 4.04
47 P2/300, WinNT Netscape 4.04
46 P2/300, Win95 Netscape 4.5b1
42 PPC "G3"/300, MacOS IE 4.01/MRJ 2.1
41 AMD K6-2/300, Win98 IE 4.0
39 UltraSparc/300, Solaris HotJava 1.1.2
38 P2/300, Win95 IE 5.0b
38 P2/266, WinNT IE 4.0
30 P2/233, WinNT Netscape 4.04
29 PPC "G3"/266, MacOS MRJ 2.1ea2
25 P2/400, Win95 JDK 1.3*
25 P2/233, WinNT IE 4.01
22 Celeron/400, Win98 JDK 1.2rc1 (3x slower!!)
22 Pentium/166, Win95 IE 4.0
21 Pentium/166, Win95 Netscape 4.04
20 PPC "G3"/233, MacOS Netscape 4.04
17 P2/300, WinNT Hotspot JDK 1.2.2 (4.5 times slower!!)
15 UltraSparc/300, Solaris HotJava 1.1
14 Pentium/133, WinNT Netscape 4.03
14 PPC "G3"/266, MacOS MRJ 2.0
5 UltraSparc/300, Solaris Netscape 4.04
2 Alcatel Web Touch Hot Java

* Using Windows 95, JDK 1.3 runs the applet at 67fps for about 30 seconds then starts
page falting and the frame rate drops to 25fps, with jerky animation.


Results from the previous version of the benchmark are also available.

Plasma Variations

More Java Benchmarks

Credits

The plasma generation routine was contributed by Sam
Marshall (t-sammar@microsoft.com). The modifications to
use an 8-bit image with indexed color model were contributed
by Menno van Gangelen (M.vanGangelen@element.nl).
Improved frame rate calculation and code for using
MemoryImageSource.setAnimated() contributed by
Andy Sy (andy@mindgate.net).