摘要:
Java精确测量代码运行时间: long startTime = System.nanoTime(); //開始時間 for(int i = 0;i<10000;i++){ ; } long consumingTime = System.nanoTime() - startTime; //消耗時間 System.out.println(consumingTime); System.out.p... 阅读全文
posted @ 2010-06-05 20:36
拂晓风起-Kenko
阅读(9187)
评论(0)
推荐(0)

浙公网安备 33010602011771号