2023年1月11日

耗时统计--StopWatch

摘要: 耗时统计 在做性能优化的时候,耗时统计非常有用。 分析出时间主要消耗在哪里,才能够做出相应的优化。 System.currentTimeMillis() 平常我们在做耗时统计时,经常会用 System.currentTimeMillis(),如下: long start = System.curre 阅读全文

posted @ 2023-01-11 22:25 乐之者v 阅读(608) 评论(0) 推荐(0)

导航