Count the Work You Almost Missed
A narrow benchmark can omit work users still experience. Validation, imports, preparation, rendering, serialization and storage may surround generation. A fair report states what the timer includes, what it omits and whether both alternatives produced equivalent outputs.
Authored explanation · fixed examples, not a live experiment.
Import/load + prepare + model + serialize/write
→Timer covers only the declared middle interval
→Report counts, repeats and excluded work separately
Which work is outside the timing claim? Name the evidence for your answer.
By the end of this lesson
Report total execution work and omitted overhead alongside model phase timings.
Inside the lesson
- Draw the timing boundary
- Separate counts and duration
- Account for repeated matched work
- Explain omitted overhead
- Compare different output lengths
- Keep measurement limits
The reproducibility tasks require running the supplied Python starter. Setup instructions and examples are included.