logoalt Hacker News

sidewndr46today at 2:42 PM1 replyview on HN

Not to suggest you weren't competent, but did you consider and try and control for the fact that your measurement could be the problem?


Replies

magicalhippotoday at 2:51 PM

Not going to dismiss it, but I did try to not do stupid stuff. I used QueryPerformanceCounter outside the loop, pinned the benchmark thread to a single core, and the array of elements it processed was fairly large. So I don't think overhead and throttling was an issue. The measurements were very consistent and repeatable.

show 1 reply