Benchmark code from my blog www.nativecoding.wordpress.com
Licence : All samples are "Public Domain" code http://en.wikipedia.org/wiki/Public_domain_software
===========================================================================
In this repository I will collect various benchmark source code. These are sources for my blog articles on www.nativecoding.wordpress.com.
-
Virtual Methods vs CRTP : https://nativecoding.wordpress.com/2015/06/05/virtual-methods-vs-crtp-benchmark-2/
-
C++11 STD Atomics vs Mutexes : https://nativecoding.wordpress.com/2015/02/15/transition-to-c11-the-most-important-features/
-
Multithreading : Lockless ringbuffer queue vs lock based ringbuffer queue : https://nativecoding.wordpress.com/2015/06/17/multithreading-lockless-thread-safe-spsc-ring-buffer-queue/
-
False sharing : Aligned data vs non aligned data : https://nativecoding.wordpress.com/2015/06/19/multithreading-multicore-programming-and-false-sharing-benchmark/
-
Fine grained vs coarse grained MPMC unbounded queue : https://nativecoding.wordpress.com/2015/08/30/multithreading-lock-contention-and-fine-grained-vs-coarse-grained-benchmark/
-
Sequential-Consistency SPSC vs Acquire/Release SPSC : https://nativecoding.wordpress.com/2015/12/20/multithreading-memory-orderings-fine-grained-spsc-lockless-queue-benchmark/