jbang run JstatExample.java
jstat -gc $(jps | grep JstatExample | cut -d " " -f1) 1s
jbang run HeapDumpAndHistogramExample.java
select * from "oql.example.*"
jbang run HeapDumpAndHistogramExample
jmap -dump:,format=b,file=all.hprof $(jps | grep HeapDumpAndHistogramExample | cut -d " " -f1)
This will force a FullGC
jmap -dump:live,format=b,file=live.hprof $(jps | grep HeapDumpAndHistogramExample | cut -d " " -f1)
jmap -histo $(jps | grep HeapDumpAndHistogramExample | cut -d " " -f1)
This will force a FullGC
jmap -histo:live $(jps | grep HeapDumpAndHistogramExample | cut -d " " -f1)
jbang run VisualVMExample.java
jbang --jfr=filename=JFREventsExample.jfr JFREventsExample.java
jbang run -Dquarkus.http.port=10008 --java-options "-Xmn8m" YoungCollectionTunningExample.java
jbang run -Dquarkus.http.port=10064 --java-options "-Xmn64m" YoungCollectionTunningExample.java
jstat -gc $(jps | grep GeneratedMain | cut -d " " -f1)
echo "GET http://localhost:10008/MyObject" | vegeta attack -duration=15s -rate=25 | vegeta report --type=text
echo "GET http://localhost:10064/MyObject" | vegeta attack -duration=15s -rate=25 | vegeta report --type=text
k6 run -e PORT=10008 k6.js
k6 run -e PORT=10064 k6.js