Tak tady jsou pro zacatel vysledky pro:
Intel(R) Xeon(R) CPU X3220 @ 2.40GHz
java -server -XX:CompileThreshold=10000 -XX:-UseXMMForArrayCopy -XX:-UseUnalignedLoadStores ArrayCopyTest2
Warmup phase...
0 1 2 3 4 5 6 7 8 9 done
Method ArrayCopyTest2.testArrayCopy1 time: 100,708,991 ns
Method ArrayCopyTest2.testArrayCopy2 time: 137,256,239 ns
Method ArrayCopyTest2.testArrayCopy3 time: 121,371,177 ns
Method ArrayCopyTest2.testArrayCopy4 time: 78,153,347 ns
Method ArrayCopyTest2.testArrayCopy5 time: 136,210,011 ns
Method ArrayCopyTest2.testArrayCopy6 time: 121,345,843 ns
java -server -XX:CompileThreshold=10000 -XX:+UseXMMForArrayCopy -XX:-UseUnalignedLoadStores ArrayCopyTest2
Warmup phase...
0 1 2 3 4 5 6 7 8 9 done
Method ArrayCopyTest2.testArrayCopy1 time: 100,502,913 ns
Method ArrayCopyTest2.testArrayCopy2 time: 137,067,723 ns
Method ArrayCopyTest2.testArrayCopy3 time: 121,365,836 ns
Method ArrayCopyTest2.testArrayCopy4 time: 78,151,333 ns
Method ArrayCopyTest2.testArrayCopy5 time: 136,215,355 ns
Method ArrayCopyTest2.testArrayCopy6 time: 121,342,873 ns
java -server -XX:CompileThreshold=10000 -XX:-UseXMMForArrayCopy -XX:+UseUnalignedLoadStores ArrayCopyTest2
Warmup phase...
0 1 2 3 4 5 6 7 8 9 done
Method ArrayCopyTest2.testArrayCopy1 time: 116,575,323 ns
Method ArrayCopyTest2.testArrayCopy2 time: 158,186,271 ns
Method ArrayCopyTest2.testArrayCopy3 time: 159,060,561 ns
Method ArrayCopyTest2.testArrayCopy4 time: 115,436,567 ns
Method ArrayCopyTest2.testArrayCopy5 time: 156,915,770 ns
Method ArrayCopyTest2.testArrayCopy6 time: 158,959,367 ns
java -server -XX:CompileThreshold=10000 -XX:+UseXMMForArrayCopy -XX:+UseUnalignedLoadStores ArrayCopyTest2
Warmup phase...
0 1 2 3 4 5 6 7 8 9 done
Method ArrayCopyTest2.testArrayCopy1 time: 116,566,568 ns
Method ArrayCopyTest2.testArrayCopy2 time: 158,254,976 ns
Method ArrayCopyTest2.testArrayCopy3 time: 159,073,464 ns
Method ArrayCopyTest2.testArrayCopy4 time: 115,399,695 ns
Method ArrayCopyTest2.testArrayCopy5 time: 156,926,495 ns
Method ArrayCopyTest2.testArrayCopy6 time: 158,962,351 ns