Plenary: Performance Matters - Emery Berger - CppCon 2020
Channel:CppCon · Length:1:01:08 · Published:2020-09-30 · Views:32513
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
- CppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes” · CppCon · 1:00:21
- Twitter and Visual Studio Rant · Molly Rocket · 38:19
- Arithmetic, Population and Energy - a talk by Al Bartlett · lXlSalemlXl · 1:14:45
- CppCon 2016: Nicholas Ormrod “The strange details of std::string at Facebook" · CppCon · 31:18
- The Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019] · cpponsea · 1:29:27
- LISA11 - Fork Yeah! The Rise and Development of illumos · USENIX · 1:04:03
- How big is a visible photon? · Huygens Optics · 20:33
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- BOLTR: Juicero, Cold Press Juicer for Rich Weirdos · AvE · 41:39
- Every Ruler Makes the Same Mistake When They Die · CGP Grey · 5:38
- Line Goes Up – The Problem With NFTs · Folding Ideas · 2:18:23
- [EPILEPSY WARNING] How fast should an unoptimized terminal run? · Molly Rocket · 51:03
- Refterm Lecture Part 1 - Philosophies of Optimization · Molly Rocket · 18:41
- How Big is Graham's Number? (feat Ron Graham) · Numberphile · 8:23
- Jim Jefferies -- Gun Control (Part 1) from BARE -- Netflix Special · Jim Jefferies · 7:47
- Why don't Americans use electric kettles? · Technology Connections · 24:55
- The Closest Thing We Have to Alien Technology · Veritasium · 55:00
- Refterm v2 - Resource usage, binary splat, glyph sizing, and more · Molly Rocket · 29:51
- Brick Assembly · Ancient · 12:27
- The Only Unbreakable Law · Molly Rocket · 53:25