1.5 beta int/long performance issue
It would appear that 1.5 is noticeably slower when doing simple addition onint andlong values. 1.3 and 1.4 have similar performance charateristics. I have not tested other primitive types or other mathematical operations. All tests were performed on an AMD Athlon XP 1700+ using Windows 2000 SP3 and the latest releases of the respective SDKs. Because this testing is imprecise, some minor variation in run times is normal. The 1.0 run times are included just for fun :)
long a = System.currentTimeMillis(), b = 0L;
for (long x=-1; x++<1000000000;)continue;
b = System.currentTimeMillis();
System.out.println("time: " + (b-a) +"ms");
JDK
1.0.2 - time: 254938ms
1.5b1 - time:6125ms
1.4.2 - time: 5406ms
1.3.1 - time: 5156ms
long a = System.currentTimeMillis(), b = 0L;
for (int x=-1; x++<1000000000;)continue;
b = System.currentTimeMillis();
System.out.println("time: " + (b-a) +"ms");
JDK
1.0.2 - time: 129531ms
1.5b1 - time:4219ms
1.4.2 - time: 2453ms
1.3.1 - time: 2516ms

