Skip to content

Commit

Permalink
add a profile for Build Reports
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-yur committed Mar 4, 2024
1 parent 1787661 commit bc7d0ee
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,25 @@
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>report</id>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<imageName>demo-report</imageName>
<buildArgs>
<buildArg>--pgo</buildArg>
<buildArg>-H:+BuildReport</buildArg>
<buildArg>-H:+BuildReportSamplerFlamegraph</buildArg>
</buildArgs>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit bc7d0ee

Please sign in to comment.