long start,end;
start = System.currentTimeMillis();
for (int i = 0; i < 2000000000; i++) {}
end = System.currentTimeMillis();
System.out.println("Run Time:" + (end - start) + "(ms)");
12-14
1135
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountBlack.png)
01-17
449
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountBlack.png)
04-26
4371
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountBlack.png)