Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/omarmahamid/async
- Owner: omarmahamid
- Created: 2024-10-09T16:13:59.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-16T10:16:03.000Z (about 1 month ago)
- Last Synced: 2024-10-18T00:29:39.799Z (about 1 month ago)
- Topics: async-profiler, flamegraph, java, jvm, profiling, spring-boot
- Language: Java
- Homepage:
- Size: 146 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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