Java On Raspberry Pi Performance
From Resin 4.0 Wiki
My objective is to performance test various basic JVM functions of different JVMs on the Raspberry Pi hardware to see which JVM is fastest. For this I have created a few different tests that exercise specific operations, such as floating-point math or file IO. The results are not relevant compared to other hardware. The results metrics are really not important either other than as they compare to the same test on a different JVM.
There's currently a few different JVMs available for Raspberry Pi. I tested these
- ejre1.7.0_06
java version "1.7.0_06" Java(TM) SE Embedded Runtime Environment (build 1.7.0_06-b24, headless) Java HotSpot(TM) Embedded Client VM (build 23.2-b09, mixed mode)
- java-7-openjdk-armel with -zero
java version "1.7.0_03" OpenJDK Runtime Environment (IcedTea7 2.1.3) (7u3-2.1.3-1) OpenJDK Zero VM (build 22.0-b10, mixed mode)
- java-7-openjdk-armel with -cacao
java version "1.7.0_03" IcedTea Runtime Environment (IcedTea7 2.1.3) (7u3-2.1.3-1) CACAO (build 1.1.0pre2, compiled mode)
- java-7-openjdk-armel with -jamvm
java version "1.7.0_03" OpenJDK Runtime Environment (IcedTea7 2.1.3) (7u3-2.1.3-1) JamVM (build 1.6.0-devel, inline-threaded interpreter with stack-caching)