StopWatch stopWatch = new StopWatch("逻辑耗时统计=" + orderParam.getOrderType());
stopWatch.start("1. xxxx");
/*
执行逻辑
*/
stopWatch.stop();
StopWatch是Spring框架提供的工具类
StopWatch stopWatch = new StopWatch("逻辑耗时统计=" + orderParam.getOrderType());
stopWatch.start("1. xxxx");
/*
执行逻辑
*/
stopWatch.stop();
StopWatch是Spring框架提供的工具类