CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"
What it is
Chandler Carruth walks through tuning C++ performance, from writing benchmarks to analyzing results on real CPUs and compilers. It focuses on small-scale problems such as loop kernels, data structures and algorithms, and on keeping compilers from optimizing benchmarks away.
Why Hacker News recommends it
HN recommends it as an eye-opening primer on benchmarking and performance analysis, especially for people who have not benchmarked on Linux.
- 3 people recommended it
- 3 different months
- 1 strong recommendations
- first 2015, last 2020
What HN commenters said
“The first one is really good if you've never benchmarked anything in a Linux environment.”
Teaches benchmarking on Linux and how C++ becomes machine code.
humanrebar, 2016-05 · Strong recommendation · in “Why I don't spend time with Modern C++ anymore”
“Here's an ey-opening (for me) talk[1] on benchmarking C++ and compilers”
Eye-opening talk on benchmarking C++ and bypassing compiler optimizations.
kbenson, 2015-10 · Recommendation · in “Do you know how much your computer can do in a second?”
“There is a very interesting talk [1] by Chandler Carruth that I stumbled upon last weekend”
Chandler Carruth talk related to performance and benchmarking
thomashusa, 2020-03 · Recommendation · in “When Bloom filters don't bloom”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, benchmarking, compilers, cpu performance, chandler carruth
Also recommended by the same people
talkRun containers on bare metal already!Bryan Cantrill · 3 HN recommenders · 2015–2025
talkZebras All the Way Down - Bryan Cantrill, Uptime 2017Code & Supply · 6 HN recommenders · 2018–2025
talkPrinciples of Technology Leadership | Bryan Cantrill | Monktoberfest 2017RedMonk Tech Events · 9 HN recommenders · 2018–2025
talkBryan Cantrill from Joyent on Manta: internet-facing object storage facility that features computeAI Council · 4 HN recommenders · 2014–2026
talk"Voice Driven Development: Who needs a keyboard anyway?" by Emily SheaStrange Loop Conference · 5 HN recommenders · 2020–2023
talkMaciej Ceglowski - Barely succeed! It's easier!webdirections · 3 HN recommenders · 2015–2020
explainerThe Material Science of Metal 3D PrintingReal Engineering · 3 HN recommenders · 2019–2024
talkThe Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]cpponsea · 2 HN recommenders · 2021–2022