Performance

Posts tagged “performance”.

performance Tuning a Server for Benchmarking
Optimizing code starts with measuring it, and a measurement is only useful if it is repeatable: a 2% improvement is invisible under 5% of noise. Yet on …

c++ · performance Optimizing a Lock-Free Ring Buffer
A single-producer single-consumer (SPSC) queue is a great example of how far constraints can take a design. In this post, you will learn how to …

c++ · performance Devirtualization and Static Polymorphism
Ever wondered why your “clean” polymorphic design underperforms in benchmarks? Virtual dispatch enables polymorphism, but it comes with …