Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omarmahamid/async

async profiler for spring applications
https://github.com/omarmahamid/async

async-profiler flamegraph java jvm profiling spring-boot

Last synced: about 1 month ago
JSON representation

async profiler for spring applications

Awesome Lists containing this project

README

        

# async

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

# pre-requisite

`JDK17+`

## Supported Machines

| CPU Arch | Linux | MacOS | Windows |
|----------|-------|-------|---------|
| x86_64 | ✔️ | ✔️ | ❌ |
| arm | ✔️ | ✔️ | ❌ |
| arm64 | ✔️ | ✔️ | ❌ |

# Dependency


io.github.omarmahamid
async
0.0.2

# Configuration

`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)

## Generated File

async will generate a html file that can be shown in the browser.

![img.png](img.png)

![img_1.png](img_1.png)

## Future Plans

1. create artifact for @Profiling on tests
2. integrate @Profiling in JUnit library