This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
The following commit(s) were added to refs/heads/main by this push:
new b513da1 Adding JFR profile to Kafka S3 Profiling Example
b513da1 is described below
commit b513da1bc9e80c76602d11f36eac146a43b35be1
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Nov 3 09:10:03 2021 +0100
Adding JFR profile to Kafka S3 Profiling Example
---
profiling/kafka-s3/pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/profiling/kafka-s3/pom.xml b/profiling/kafka-s3/pom.xml
index eb8fe6a..5adb5b1 100644
--- a/profiling/kafka-s3/pom.xml
+++ b/profiling/kafka-s3/pom.xml
@@ -151,5 +151,13 @@
<quarkus.container-image.tag>${project.version}-jvm</quarkus.container-image.tag>
</properties>
</profile>
+ <profile>
+ <id>jfr</id>
+ <properties>
+
<quarkus.jib.base-jvm-image>adoptopenjdk/openjdk11:ubi-minimal</quarkus.jib.base-jvm-image>
+
<quarkus.jib.jvm-entrypoint>java,-XX:+UseShenandoahGC,-Xlog:gc,-XX:StartFlightRecording=name=Test\,settings=/work/jfr/settings_for_heap.jfc\,filename=/work/jfr/output.jfr,-Xmx256m,-jar,/work/quarkus-run.jar</quarkus.jib.jvm-entrypoint>
+
<quarkus.container-image.tag>${project.version}-jvm</quarkus.container-image.tag>
+ </properties>
+ </profile>
</profiles>
</project>