HackerTubewatch
Surprise me
Frame from "Performance (Really) Matters" with Emery Berger Plays via YouTube's privacy-enhanced embed

"Performance (Really) Matters" with Emery Berger

4 videos recommended on HN
YouTube
3 HN users recommended this talk4 months2022–2026 score 4.5
Years with an HN recommendation, 2007–2026

HN points to it whenever benchmarking pitfalls and layout effects come up, as an eye-opening talk on how unreliable naive measurements are.

Emery Berger argues that performance is hard to measure and deliver on modern systems, showing how code layout and link order can swamp optimization effects. He presents tools that evaluate performance more reliably.

“I highly recommend it. It's mind blowing, but also terrifying” (HN, 2024)

1 strong recommendations · 3 recommendations · 3 citations · Talks · advanced

7 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@reitzensteinm Jan 2024 Strongly recommends
on HN thread When Optimising Code, Measure
If you're measuring performance and haven't seen this talk by Emery Berger, I highly recommend it. It's mind blowing, but also terrifying when you realize how many mistakes you've been making up until this point. [this video]
Reveals common mistakes in measuring performance
@vanderZwan Dec 2022 Recommends
on HN thread Fast memcpy, A System Design
> The main trap is trying to benchmark and profile it without the context of the whole application. Emery Berger's "Performance (Really) Matters" talk also goes into this[0]. He paints a really, really depressing picture of how unreliable benchmarks truly are. Like, things like link order having ridiculous impacts and stuff like that. [0] [this video]
Shows how unreliable benchmarks are, e.g. link order effects
@sitkack Jan 2025 Recommends
on HN thread Disabling Zen 5's Op Cache and Exploring Its Clustered Decoder
If you enjoy the science of injecting slowness to determine which component has the largest impact on performance, you would enjoy this work by Emery Berger. Coz: Finding Code that Counts with Causal Profiling [link] "Performance (Really) Matters" with Emery Berger [this video]
Emery Berger's work on performance analysis by injecting slowness
@vanderZwan Jun 2026 Recommends
on HN thread To study how chips work, MIT researchers built their own operating system
I think you're better off watching any of the various recordings "Performance Matters" conference talks[0] by Emery Berger to learn about all the ways that developers are benchmarking the wrong thing using the wrong techniques, and what you could do instead [0] [this video]
Shows how developers benchmark wrongly and what to do instead

Citations, criticism and jokes

@kaliszad Jan 2022 Cites it
on HN thread “Fast Kernel Headers” Tree -v1: Eliminate the Linux Kernel's “Dependency Hell”
Read more
I know, and that is exactly my point. It isn't like "send to REPL" in pretty much any half-decent LISP. And it hurts development comfort, speed and maintenance is way more burdensome than what it could be. Here, you would need to involve a compiler of course and do more due diligence and then run ftrace or something to exchange the code. Also, you would probably in some cases need to make sure, the ordering of code is right as to not hurt performance. (See Emery Berger's talk [this video] which probably applies here as well.) Of course, with great power comes great responsibility. You could add some optional checking facility, that would be able to roll back the changes to code if some conditions were met.
@sitkack Jun 2022 Cites it
on HN thread The true cost of linked lists
It isn't CS 101. You are being overly dismissive and even CS people from top schools get this stuff wrong. The courses that introduce big-O are often the weeder courses, they don't aim to education, they aim to flunk out the people that might be hard to teach so that CS departments can gate keep. When you have top CS researchers having to give talks to remind people that layout matters more than instruction selection, the CS as a whole has focused on the wrong things. [this video] Figure how to build people up, not tear them down.
Talk showing layout matters more than instruction selection
@nerpderp82 Nov 2023 Cites it
on HN thread Four Kinds of Optimisation
Performance (Really) Matters by Emery Berger talks a lot about layout. [this video] And the topic of Coordinated Omission, "How NOT to Measure Latency" by Gil Tene [link] Injection slowness into an application to measure the relative impact of that portion of the application has really worked well for me.
Talks a lot about layout effects on performance

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close