10-12-2012, 07:15 AM
Strange, I get a completely different performance when run on my Intel core @2.66GHz with Java 7 32-bit:
Do you get different values depending on
- java 6 or 7
- 32-bit or 64-bit
Code:
Empty loop : 199 ms ( 457%) @ 222 MHz
Simple loop : 287 ms ( 397%) @ 222 MHz
read32 : 359 ms ( 338%) @ 222 MHz
read16 : 352 ms ( 291%) @ 222 MHz
read8 : 394 ms ( 251%) @ 222 MHz
write32 : 347 ms ( 354%) @ 222 MHz
write16 : 402 ms ( 239%) @ 222 MHz
write8 : 475 ms ( 212%) @ 222 MHz
Function call no params : 561 ms ( 190%) @ 222 MHz
Function call with params: 380 ms ( 359%) @ 222 MHz
FPU add.s : 195 ms ( 350%) @ 222 MHz
FPU mul.s : 193 ms ( 353%) @ 222 MHz
VFPU vadd.s : 334 ms ( 245%) @ 222 MHz
VFPU vadd.p : 441 ms ( 186%) @ 222 MHz
VFPU vadd.t : 573 ms ( 143%) @ 222 MHz
VFPU vadd.q : 700 ms ( 117%) @ 222 MHz
VFPU vadd.q sequence : 1307 ms ( 52%) @ 222 MHz
LWC1 : 422 ms ( 288%) @ 222 MHz
SWC1 : 394 ms ( 312%) @ 222 MHz
memcpy (native) : 70 ms (1237%) @ 222 MHz
memset (native) : 90 ms (1191%) @ 222 MHz
strcpy (native) : 175 ms ( 778%) @ 222 MHz
memcpy (non-native) : 401 ms ( 198%) @ 222 MHz
memset (non-native) : 327 ms ( 235%) @ 222 MHz
strcpy (non-native) : 404 ms ( 209%) @ 222 MHz
Overall performance index: 359%
Do you get different values depending on
- java 6 or 7
- 32-bit or 64-bit
Always include a complete log file at INFO level in your reports. Thanks! How to post a log