Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JVM benchmarking application [closed]

We want to compare general performance (CPU, I/O, network, ...) of different JVMs for the same Java version (1.5) in different environments (Windows, Solaris, ...).

Do you know of any JVM benchmarking application which can be used to compare results from different JVMs?

Thank you very much.

like image 873
fglez Avatar asked Mar 05 '10 13:03

fglez


People also ask

How do you run JMH benchmarks?

There are two ways to run the JMH benchmark, uses Maven or run it via a JMH Runner class directly. 3.1 Maven, package it as a JAR and run it via org. openjdk. jmh.

Which JVM is fastest?

For the typical (median) values, there is no significant difference between the various JDKs except for OpenJDK 11 which is about 30% slower than the other versions. The fastest of them all is GraalVM EE 17, but the difference compared to OpenJDK 8/OpenJDK 17 is marginal.

What is JVM in performance testing?

Java virtual machines (JVM) use Just-In-Time (JIT) compilers to compile Java byte codes into native instructions during server run time. A JIT compiler is a platform-specific compiler that generates machine instructions for each method as needed. These compilers can affect startup or runtime performance.


1 Answers

We ended up using SPECjvm2008 as we needed something more 'standard' than 'rigorous'.

The goal was to quickly compare performance between different JVM environments and show it to systems group. SPECjvm2008 was quite easy to setup and served well to the task.

like image 193
fglez Avatar answered Oct 09 '22 12:10

fglez