Result of running the same on my desktop

Sep 29, 2015 at 12:56 AM

I have tried sample for short in VS2013. The results are very strange, both the parallel approaches PPL and parallel STL are slower than serial.

Not sure if I miss understood anything, but they should be faster than serial?


Testing sort of 100000 ints:
serial: 0.349 seconds
parallel STL: 1.983 seconds
PPL: 2.474 seconds

Testing sort of 1000000 ints:
serial: 4.281 seconds
parallel STL: 34.084 seconds
PPL: 39.724 seconds