aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Bechberger <me@mostlynerdless.de>2024-01-04 10:42:16 +0100
committerGunnar Morling <gunnar.morling@googlemail.com>2024-01-04 12:38:08 +0100
commit9a558e24516de2edc3a3e9bfdef319dec58ba050 (patch)
treee0ce0869a798a0185e4b8a1bab01b962dca4413e
parentf52a89083b0bfecaad7911444adec87b3ccfc599 (diff)
Link async-profiler and ap-loader in the README
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3be897d..e37cf44 100644
--- a/README.md
+++ b/README.md
@@ -98,7 +98,8 @@ Execute the following steps to run the challenge:
## Flamegraph/Profiling
-A tip is that if you have [jbang](https://jbang.dev) installed, you can get a flamegraph of your program by running:
+A tip is that if you have [jbang](https://jbang.dev) installed, you can get a flamegraph of your program by running
+[async-profiler](https://github.com/jvm-profiling-tools/async-profiler) via [ap-loader](https://github.com/jvm-profiling-tools/ap-loader):
`jbang --javaagent=ap-loader@jvm-profiling-tools/ap-loader=start,event=cpu,file=profile.html -m dev.morling.onebrc.CalculateAverage_yourname target/average-1.0.0-SNAPSHOT.jar`