level 4
- [logStarted,61] - Started NtwSfmApplication in 131.117 seconds (JVM running for 136.605)
使用JreBel debug 启动时间
- [logStarted,61] - Started NtwSfmApplication in 50.751 seconds (JVM running for 51.846)
使用IDEA debug 启动时间
- [logStarted,61] - Started NtwSfmApplication in 22.925 seconds (JVM running for 24.22)
使用IDEA 运行 启动时间
2025年03月31日 07点03分
2
level 4
-----以上是scan mapper 历时20s 以上
15:50:45.831 [main] DEBUG c.b.m.e.s.MybatisSqlSessionFactoryBean - [debug,49] - Parsed mapper file: 'file\target\classes\mapper\business\SeqGetNewSnoMapper.xml]'
_ _ |_ _ _|_. ___ _ | _
| | |\/|_)(_| | |_\ |_)||_|_\
/ |
3.5.3.1
--控制台会卡在这里1分钟多
15:51:44.555 [main] INFO c.n.c.c.u.h.PoolingHttpClient - [<clinit>,33] - init HttpClient begin...
15:51:45.272 [main] INFO c.n.c.c.u.h.PoolingHttpClient - [getConnection,70] - now client pool [leased: 0; pending: 0; available: 0; max: 200]
15:51:45.272 [main] INFO c.n.c.c.u.h.PoolingHttpClient - [<clinit>,54] - init HttpClient end!
15:52:00.707 [main] WARN o.s.c.l.c.LoadBalancerCacheAutoConfiguration$LoadBalancerCaffeineWarnLogger - [logWarning,82] - Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
这是用jrebel debug 启动项目时
2025年03月31日 07点03分
3
level 4
之前一直都是启动时间差不多120s
两个星期前,我在想,是不是插件太多的原因,我将idea 插件 暂用了一部分,当时JreBel debug 启动时间 与 IDEA 运行 启动时间 差不多 只需要30s左右
上个星期,再次打开插件市场,下载一个插件,安装重启之后,重新JreBel debug 启动时 就变回120s 这样,我将下载安装的插件卸载,启动时间还是没有变化,还是需要130s 直到现在
2025年03月31日 08点03分
4
level 4
现在排除插件影响的原因,吧idea全部插件禁用,只保留用jrebel启动 也还是长时间启动 -Didea.plugins.path=NUL
目前不知道什么原因
2025年03月31日 08点03分
5