본문 바로가기

라즈베리파이(RPI)

[추천][펌] Raspberry Pi - Java Virtual Machine Benchmarks

안녕하세요 버섯돌이 유재성입니다.

오래된 자료지만 해외에 라즈베리에서의 JVM 버전별 다양한 벤치 결과가 있어서 퍼왔습니다.

JVM을 이용하는 작업에 참고하시면 좋을 듯 싶네요.

 

출처 : http://www.savagehomeautomation.com/projects/raspberry-pi-java-virtual-machine-benchmarks.html

Raspberry Pi - Java Virtual Machine Benchmarks

BY ROBERT SAVAGE

I have recently been performing some benchmarks of the various Java Virtual Machines available on the Raspberry Pi ARM11 platform and thought I would share the results.  I used this test suite:  http://dacapobench.org/

Thanks to forum member chrisg on the Raspberry Pi forums who posted these benchmarks results for the previous Debian "Squeeze" image.  The results listed below for the OpenJDK are taken directly from chrisg's post.  I also ran these same tests on my Pi with Debian "Squeeze" and received very similar (maybe slightly higher) results.  

The following JVMs are represented:

  • Oracle SE 7 JDK (7u6)
  • Oracle SE 7 Embedded JRE (7u4) 
  • OpenJDK Zero VM (6u18)
  • OpenJDK Cacao VM (6u18)

The following chart includes all the tests performed and the resulting time in milliseconds that each test took to complete.  Obviously the lower number the better :-) 

I included a TOTAL line that sums up all the test results in minutes for each test case for rough comparisons, but please note that it does not compensate for the time missing from failed tests.

The test results are charted below for a visual representation.

 

I was particularly interested in the performance between the two available Oracle JVMs.  The results (as expected) were almost negligible.  The graph below illustrates the results of the two Oracle JVMs. 

* Raspberry Pi is a trademark of the Raspberry Pi foundation.
* Oracle and Java are registered trademarks of Oracle.