Learning objectives
What you should understand
- Prevent dead-code elimination and constant folding
- Design warm-up, batching and repetition deliberately
- Report uncertainty, environment and raw samples
Lab
Hands-on exercise
Build a reusable C++ harness and use it to catch one misleading microbenchmark.
Deliverable
Evidence of completion
A benchmark repository with raw data, build flags and a reproducibility README.
- Prerequisite
- EP 01