Integer Overflow Checking Cost
Summary
Dan Lu.u. analyzes the performance impact of enabling integer overflow checks and sanitizers, arguing that the overhead is generally a few percent but can rise significantly when diagnostic output is enabled. He supports his claims with benchmarks comparing clang and gcc, including bzip2 in SPECint, and discusses how compiler behavior and runtime checks affect real-world code.