Closed mhalbritter closed 2 years ago
╰─$ ./build.sh === Building commandlinerunner sample ===
Packaging commandlinerunner with Maven (native)
SUCCESS
Testing commandlinerunner
SUCCESS
Build memory: 5,82GB
Image build time: 43,0s
RSS memory: 30.3M
Image size: 26.1M
Startup time: 0.015 (JVM running for 0.02)
Lines of reflective config: 980
╰─$ ./build.sh -q
=== Building commandlinerunner sample ===
Packaging commandlinerunner with Maven (native)
SUCCESS
Testing commandlinerunner
SUCCESS
Build memory: 5,08GB
Image build time: 27,3s
RSS memory: 30.2M
Image size: 26.5M
Startup time: 0.019 (JVM running for 0.023)
Native Image 22.1 introduced the quick build mode, which can be enabled with
-Ob
. This mode disables some optimizations to achieve quicker build times.