Leaving performance on the table
Summary
A hands-on look at binary optimization techniques using LLVM, including instrumentation, profiling, PGO, LTO, and BOLT. The article walks through a practical sqlite3 benchmark showing meaningful performance gains and emphasizes that profiling data—even imperfect—provides tangible benefits.