You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/09/27 08:59:13 UTC

[camel-performance-tests] 02/02: Kafka-Minio: adding the JFR Profile

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

commit e6ac8e6fff2faa9be2fb8b9d6d02e075bc9182f7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 27 10:55:15 2021 +0200

    Kafka-Minio: adding the JFR Profile
---
 profiling/kafka-minio/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/profiling/kafka-minio/pom.xml b/profiling/kafka-minio/pom.xml
index a094a49..25d1df9 100644
--- a/profiling/kafka-minio/pom.xml
+++ b/profiling/kafka-minio/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,-Xmx128m,-jar,/work/quarkus-run.jar</quarkus.jib.jvm-entrypoint>
+                <quarkus.container-image.tag>${project.version}-jvm</quarkus.container-image.tag>
+            </properties>
+        </profile>
     </profiles>
 </project>