摘要: 在程序中要对某一段业务逻辑进行计时,一般采用如下方法来统计耗时: public static void main(String[] args) { long startTime = System.currentTimeMillis(); doSomeThing(); long endTime = S 阅读全文
posted @ 2021-11-14 23:23 在谷歌上百度 阅读(168) 评论(0) 推荐(0) 编辑