Plenary: Performance Matters - Emery Berger - CppCon 2020

Channel:CppCon · Length:1:01:08 · Published:2020-09-30 · Views:32513

Watch on YouTube

Summary

Emery Berger's CppCon 2020 plenary on why performance is hard on modern hardware after the end of Dennard scaling. It covers benchmarking pitfalls and introduces new profiling tools for finding real bottlenecks.

Why HN recommends it

Recommended for treating benchmarking and profiling scientifically rather than by myth, with innovative tools.

covers the basics of how to attempt benchmarking with actual computer science instead of myth and voodoo rituals — HN, 2021

C, C++, Rust, Go & systems languages · Software performance & optimization

Subtitles (excerpt)

um so today i'll be talking about performance matters this is joint work with my former graduate student charlie kurtzinger who is now professor at grinnell college so we'll start with a little story um it's a short time ago in a valley far far away not this valley which is really far away but this valley uh which for some of us is quite close and some still still far um and in this valley we have um our hero luke um so luke uh being in silicon valley and not on tatooine has an idea for an app uh that's how he's going to uh to resist i guess um so his idea for an app is is super compelling it involves cats so it's guaranteed to be a success and the way that the app is going to work is that luke is going to have this application that lets you take pictures of cats and then it will go search for similar pictures of cats so you'll get just uh as many cat memes as you could possibly want just take a picture of a cat and you get cadmiums and he's a great idea for this killer app he calls it ogle um suspiciously sounds like another successful company which is a good sign um luke is convinced it's going to totally disrupt image search uh unfortunately uh luke has not heard of uh google image

On Hacker News

The term you're looking for might be "abstraction penalty". For tools that can identify where the bottlenecks are, I recommend watching Emery Berger's talk "Performance Matters" from CppCon 2020 (either of the two links below should work). He introduces some innovative new profiling tools for this sort of analysis. [VIDEO] [LINK] — captaincrowbar, 2022-01
This guy has had a few talks at CppCon over the years, and covers the basics of how to attempt benchmarking with actual computer science instead of myth and voodoo rituals: [VIDEO] In practice, it's not critical to go that far. In my experience, huge performance wins are trivial to benchmark with just a modicum of effort, and tiny performance wins are typically not worth any effort at all. At FAA… — jiggawatts, 2021-06
To give an oversimplified answer, that depends on how things are connected and synchronized. You know how bottlenecks are often explained using funnels in real life? Imagine two funnels, one directly connecting to another one. In that case, the effective rate of flow is determined by the funnel which has the smallest tip - the fact that the larger one lets through fluid quicker is irrelevant, as … — vanderZwan, 2021-04

Related videos