Async Profiler embedded in a Spring application within a scheduled service, capturing profiling data at regular intervals (each tick of time) and generating an HTML report that can be viewed in a browser
JDK17+
CPU Arch | Linux | MacOS | Windows |
---|---|---|---|
x86_64 | ✔️ | ✔️ | ❌ |
arm | ✔️ | ✔️ | ❌ |
arm64 | ✔️ | ✔️ | ❌ |
<dependency>
<groupId>io.github.omarmahamid</groupId>
<artifactId>async</artifactId>
<version>0.0.2</version>
</dependency>
async-profiler-enabled
- Enable profiler to work.
async-profiler-event
- Event of async profiler (CPU, ALLOC, WALL). (Default is CPU)
async-profiler-duration
- Duration of interval profiling in seconds. (Default is 1000)
async-profiler-basedir
- The based directory to dump the html files in. (Default is base application dir)
async will generate a html file that can be shown in the browser.
- create artifact for @Profiling on tests
- integrate @Profiling in JUnit library