Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lwaddicor/spring-startup-analysis

Simple module to analyse bean construction in Java Spring
https://github.com/lwaddicor/spring-startup-analysis

analysis analyzer profiling spring spring-boot

Last synced: about 2 months ago
JSON representation

Simple module to analyse bean construction in Java Spring

Awesome Lists containing this project

README

        

# Spring Start Analyser

This project is designed as a module which you can bring in via maven
and it will produce a graph similar to below which shows the
construction times of each spring bean.

![Example image of it running](./readme-images/example.png)

## How to use

Import the module as a maven dependency.


com.github.lwaddicor
spring-startup-analysis
1.1.0

Either add to your component scanning the following base package

com.github.lwaddicor.springstartupanalysis

or


Now you should be able to start up your servlet and navigate to the endpoint. For example

http://localhost:8080/spring-startup/

And view something very similar to the example.

### Credits

TreeMap algorithm from [peterdmv/treemap](https://github.com/peterdmv/treemap) was used to calculate the treemap.