github地址:https://github.com/linyimin0812/spring-startup-analyzer
1、安装
curl -sS https://raw.githubusercontent.com/linyimin0812/spring-startup-analyzer/main/bin/install.sh | sh
2、maven
<parent> <groupId>io.github.linyimin0812</groupId> <artifactId>spring-profiler-starter</artifactId> <version>latest_version</version> </parent>
3、Idea启动,增加vm参数:java -javaagent:/Users/runner/spring-startup-analyzer/lib/spring-profiler-agent.jar
启动后,访问http://localhost:8065/
查看应用启动耗时情况
标签:github,启动,spring,boot,startup,analyzer,linyimin0812 From: https://www.cnblogs.com/use-D/p/17904025.html