HFT CORE SYSTEMS

Build a benchmark harness that resists self-deception

Lesson 02 of 96Phase 01: Measurement before optimization
Video lesson coming soon

The written objectives and hands-on lab are available now.

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Prevent dead-code elimination and constant folding
  2. Design warm-up, batching and repetition deliberately
  3. 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

Phase 01

Measurement before optimization

Full curriculum