摘要: apache的时间监视器StopWatch org.apache.commons.lang3.time.StopWatch。 在编程过程中,常常需要计算某段程序的运行时间,常见做法是在目标程序段的前后分别记录系统毫微秒时间,通过取差得到时间差,现在有一种更好的方式是:使用apache提供的StopWatch。 相对于System.curren 阅读全文
posted @ 2023-11-27 08:45 残城碎梦 阅读(339) 评论(0) 推荐(0)