Hacker News new | ask | show | jobs
by bluGill 143 days ago
If you don't allow complev things like spinlocks then all that is left is single thread performance.
1 comments

Except that ignores the amount of times the OS preempts the thread, or moves it into another CPU trashing all the cache contents in the process, and related NUMA patterns.

The way it is measured, is mostly ideal, assuming that threads run to completion without any of those side effects taking place.