helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.44k stars 562 forks source link

Add mvn targets for GraalVM Enterprise PGO #8858

Open edbratt opened 4 weeks ago

edbratt commented 4 weeks ago

Consider adding build targets for GraalVM Enterprise PGO

This can be accomplished using cmd arguments: mvn package -DbuildArgs="--pgo-instrument" -Pnative-image for generating the profile generation build. Followed by mvn clean package -DbuildArgs="--pgo=./default.iprof" -Pnative-image For example, maybe add targets like: -Pnative-image-pgo-instrument -Pnative-image-pgo

Might also consider updating the .gitignore to avoid inadvertent check-in of the resulting iprof files.