Java vs. native-image with graal vm

The code

Let's compile...

...to java

... to native

Before the measurement

Intel CPU govenors, frequencies

Measurement