r/java • • Mar 16 '21

Java 16 / JDK 16: General Availability

196 Upvotes

82 comments sorted by

View all comments

3

u/fanfan64 Mar 16 '21

3

u/manzanita2 Mar 16 '21

It seems that the benchmarksgame is also measuring startup time, meaning it's measuring non-JIT'd code. IS that the case ?

3

u/fanfan64 Mar 16 '21

It is the case however on openjdk 14 no warm-up was actually faster (no idea why though) https://benchmarksgame-team.pages.debian.net/benchmarksgame/sometimes-people-just-make-up-stuff.html

2

u/igouy Mar 17 '21 edited Mar 17 '21

In 2 cases — fannkuch-redux #1 & spectral-norm #1 — no warm-up was actually faster.

In 5 cases no warm-up was slower.

However, not much difference.