A demo project is available at: https://github.com/codependent/micronaut-graal-hello-world
I have created a basic Micronaut application following the instructions at: https://docs.micronaut.io/1.1.0.M1/guide/index.html#graalServices
The native image generation works fine using the included script ./build-native-image.sh
After creating it I launch ./micronaut-graal-hello-world
From the moment I launch the image in the shell it takes around 30 seconds to log this: 19:26:15.113 [main] INFO io.micronaut.runtime.Micronaut - Startup completed in 19ms. Server Running: http://localhost:8080
So, the Micronaut application starts fast as hell (19ms!!) but it takes the image 30 seconds to start. How is that possible? This makes the use of GraalVM images pointless since the startup time of the process is too slow.
NOTICE my env is MacOS Mojave