Performance

14 Sep 2026

I Set Out to Learn NRVO and Ended Up Measuring My Command Line

I wanted to understand named return value optimisation, got curious what the pessimised version costs, and my first numbers were reproducible to 0.01% and wrong. Instructions and cycles instead of wall-clock, and the pointer question turned out to be an allocator question.

13 Sep 2026

How I Benchmark on the GB10 CPU

The same benchmark landed at 3.47 ms and 7.01 ms on different afternoons while reporting under 0.3% variation both times. These are the habits that survived that.

16 Aug 2026

CUDA Performance, Part 1: Device Busy Is Not GPU Busy

A program can report 98.8% device utilization while leaving its compute units idle 39% of the time. This is what I learned building a TUI for nsys timelines, and why the second number is the only one that matters.