"Performance Matters" by Emery Berger
12 人推荐 · 跨 10 个月 · 2019–2025

中文导读
Emery Berger 揭秘现代硬件环境下性能评估陷阱的硬核讲座。他证实了代码内存布局与对齐偏差往往会直接淹没算法优化的收益,并介绍了统计评测工具 Stabilizer 与因果性能分析器 Coz。
为什么 HN 推它
HN 上面对微小改动却导致基准测试剧烈波动的困惑贴首推解答,带你认识颠覆直觉的因果性能分析(causal profiling)。
「这是我见过关于性能优化最不可思议、最颠覆认知的内容」HN 网友原话:this is the most amazing optimisation information I have seen
英文原摘要(HackerTube / Claude 整理)
Emery Berger explains why performance is hard to measure and deliver on modern hardware, showing how code layout and alignment can swamp optimization effects. He presents Stabilizer for statistically sound evaluation and Coz, a causal profiler.
It is the standard recommendation for anyone puzzled by unexplained benchmark changes from tiny code edits, and for learning about causal profiling.
HN 上的提及
I think the author may be referring to this talk
is a great talk
which I highly recommend. Lots of really nice insight, even outside of this tool.
this is the most amazing optimisation information I have seen
Cited as an example of causal profiler