I'm running an i7-6700k, on Windows 10 with the MSVC 2015 compiler, my results were
9592 primes between 0 and 100000
Time taken = 12.808
Without optimisations, and
9592 primes between 0 and 100000
Time taken = 10.853
with full optimisations. I would ahve thought it would have been much better.
without and with optimisations.