Skip to content

alapierre/micronaut-sample

Repository files navigation

Micronaut 4.6.1 Documentation

GraalVM staff

  • handling-reflection
  • reelection config file: src/main/resources/META-INF/native-image/dev.itrust.sample/micronaut-sample-graal/reflect-config.json

CRaC staff

Build native image

mvn package -Dpackaging=docker-native -Pgraalvm -Dmaven.test.skip=true

Build CRaC Image

./mvnw package -Dpackaging=docker-crac -Dmaven.test.skip=true

Native vs JDK

Native

stating 337ms / 280ms first endpoint call (Micronaut lazy loading and cache initialization): 109ms next calls (no database): 9ms reading from database: 10ms

JDK

starting: 2533ms first endpoint call (Micronaut lazy loading and cache initialization): 712ms next calls (no database, cache only): 21ms / 16ms / 14 ms reading from database: 22ms

About

Micronaut sample app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published