Java 8 performance VS. Java 7 Java 8 performance VS. Java 7 multithreading multithreading

Java 8 performance VS. Java 7


Launched 21 SOAPUI (Parallel) tests against WLS 12.1.3 running resp. Java 7u51(*) and Java 8u60 on my test environment.

Test results below (screenshots included in case of).

To summarize: SOAPUI time is simply the SOAPUI execution time for each pass, while
the JMX time (cumulative between each pass) is the time spend on the critical part of my application.
The JMX metrics is the computational time (the one I try to minimize). I won't rely on the SOAPUI metric as I don't know how it is calculated exactly

As per SOAPUI, JDK 7u51 was 6.7% faster than JDK 8u60.
As per JMX, JDK 7u51 was 15.6% faster than JDK 8u60.

The latter confirm (to me) the trend observed in my unit tests - same result. Despite these tests are probably not the one to use to evaluate a JVM performance, I guess that in my case scenario, it is preferable to stay on JDK7, as in my case, the performance aspect is important.

Java 7
Pass1 SOAPUI: 22'324 [ms] - JMX :16'286 [ms]
Pass2 SOAPUI: 24'129 [ms] - JMX :33'510 [ms]
Pass3 SOAPUI: 22'170 [ms] - JMX :49'923 [ms]
TOTAL SOAPUI: 68'623 [ms] (JMX: 49'923 [ms])

Java 8
Pass1 SOAPUI: 25'150 [ms] - JMX :19'767 [ms]
Pass2 SOAPUI: 24'564 [ms] - JMX :39'702 [ms]
Pass3 SOAPUI: 23'846 [ms] - JMX :59'172 [ms]
TOTAL SOAPUI: 73'560 [ms] (JMX: 59'172 [ms])

(*): no time to install Java 7u60 as in my unit test

Screenshots

enter image description here