xxw1754352621 / java-dev

愿景:提升自我知识容量,扩展自我知识边界
Apache License 2.0
6 stars 2 forks source link

perf4j的使用 #40

Closed xxw1754352621 closed 4 years ago

xxw1754352621 commented 4 years ago

耗时统计

代码如下

   StopWatch sw = new Slf4JStopWatch();

   sw.stop();

日志输出 start[1579512852458] time[184] tag[updateCacheFromDb]