自定义starter
springboot的启动流程
-- -------------- 计时器--------------------------
public static void main(String[] args) throws InterruptedException {
StopWatch stopWatch = new StopWatch();
stopWatch.start();
Thread.sleep(3000);
stopWatch.stop();
System.out.println(stopWatch.getTotalTimeSeconds());
}
============================
https://www.bilibili.com/video/BV1Lq4y1J77x?p=9&spm_id_from=pageDriver