How to benchmark compiler opts: inspect emitted code, split cold vs steady

cfregly · x · 2026-10-22

Takeaway from the series: inspect emitted compiler fragments and CUDA replay activity, and measure cold first use separately from repeated execution — otherwise optimizations like nested graphs (big steady-state win, modest cold-start cost) are easy to misread.

Related event: Nested PyTorch graphs speed steady-state 4.5x at cold-start cost(6 posts)→

Original post →

More from Infra

Infra channel →