Tepoo: I don't know how code that multiple 2 arrays and set score to another can be that bad... If you point me my errors i will fix them
C# code is from MS site for testing parallel loop and i added c++ to be similar.
Main point of this test was to show that Mono VM on Vita is really really bad optimized, or Sony limited CPU speed with PSS SDK. There are some other tests made by Martin Caine on pss forum (http://community.eu.playstation.com/.../td-p/16018189
). He used built in Vector3 structure and his own.
Simulator - PSS Vector3 - 3.309 seconds
Simulator - Custom Vector3 - 2.68 seconds
Tablet S - PSS Vector3 - 9.55 seconds
Tablet S - Custom Vector3 - 8.536 seconds
Xperia Play - PSS Vector3 - 17.419 seconds
Xperia Play - Custom Vector3 - 15.990 seconds
Vita - PSS Vector3 - 28.128 seconds
Vita - Custom Vector3 - 25.140 seconds
Again Vita is worst. It's worth to mention that I made same test on PSP with custom Vector3 class (yes without any optimization
) and it took 12.836 seconds.
Martin also tested this on some WP7 phones (also c# for programming but with VM from MS)
Nokia Lumia 800 - XNA Vector3 - 9.555 seconds
Nokia Lumia 800 - Custom Vector3 - 9.424 seconds
Nokia Lumia 800 - XNA Vector (SIMD) - 7.74 seconds
HTC HD7 - XNA Vector3 - 13.44 seconds
HTC HD7 - Custom Vector3 - 13.852 seconds
HTC HD7 - XNA Vector3 (SIMD) - 10.87 seconds
Anyone can clearly see that Mono VM is really really bad optimized on Vita or maybe Sony limited CPU speed there... PSS SDK is still in beta state so maybe Sony will improve this. Otherwise don't expect to many advanced games on Vita made with this sdk.