Content deleted Content added
Line 84:
So I tried to repeat your benchmark. Here's what I found:
cat Test.java▼
public class Test {▼
▲ cat Test.java
▲ public class Test {
long time = System.currentTimeMillis();▼
▲ long time = System.currentTimeMillis();
for(int i = 1; i < 1000000000; i++) {
}
System.out.println((System.currentTimeMillis() - time));▼
}
} ▼
▲ System.out.println((System.currentTimeMillis() - time));
java -hotspot Test▼
▲ }
1612▼
java -server Test▼
3
▲java -hotspot Test
▲1612
▲java -server Test
[[User:Tbjablin|Tbjablin]] 03:05, 24 Apr 2005 (UTC)
|