Skip to content

External Async Profiler provider - #7

Merged
galderz merged 3 commits into
mainfrom
topic.ap.compose
Sep 17, 2026
Merged

galderz merged 3 commits into
mainfrom
topic.ap.compose

Conversation

@galderz

@galderz galderz commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Fixes #5

An external Async Profiler provider for Fibula. The Async Profiler in JMH cannot be used as it is because it relies on running within the benchmark process and it uses JVMTI to interact with Async Profiler itself. JVMTI is not supported, so the profiler here is just external.

Running on the ... project with:

mvn clean package -Ddebug=true && \
  LD_PRELOAD=$HOME/opt/async-profiler/lib/libasyncProfiler.so java -jar target/benchmarks.jar \
    -prof org.mendrugo.fibula.NativeAsyncProfiler

Will generate a flame graph like this:

Screenshot 2026-09-17 at 07 01 36

@galderz galderz changed the title External Async Profiler for native External Async Profiler Sep 17, 2026
@galderz galderz changed the title External Async Profiler External Async Profiler provider Sep 17, 2026
@galderz
galderz merged commit 7fe4bc5 into main Sep 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Async Profiler 4.0 JMH profiler

1 participant