Linked Array Queues, part 2: SPSC Benchmarks

from blog Psychosomatic, Lobotomy, Saw, | ↗ original
JCTools has a bunch of benchmarks we use to stress test the queues and evaluate optimizations. These are of course not 'real' workloads, but serve to highlight imperfections and opportunities. While it is true that an optimization might work in a benchmark but not in the real world, a benchmark can work as a demonstration that there are at least...