HackerTube

THE VIDEO SHELF · c++ performance tuning

CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"

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 HN readers recommended it

HN recommends it as an eye-opening primer on benchmarking and performance analysis, especially for people who have not benchmarked on Linux.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
CppCon
Topic
c++ performance tuning
Format
talk
Level
advanced
HN recommenders in dataset
3
HN mentions in dataset
4
Recommendation years in dataset
2015–2020

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • Here's a few: - "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!" [VIDEO] - "Understanding Compiler Optimization" [LINK] - "Optimizing the Emergent Structures of C++" [LINK] - "Efficiency with Algorithms" [LINK] The first one is really good if you've never benchmarked anything in a …

    humanrebar on Hacker News · 2016-05
    In Why I don't spend time with Modern C++ anymore
  • Interestingly, there's quite a bit that's needed to ensure you bypass some compiler optimizations. Here's an ey-opening (for me) talk[1] on benchmarking C++ and compilers which touched on it. 1: [VIDEO]

    kbenson on Hacker News · 2015-10
    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 that is very much related to this [1] [VIDEO]

    thomashusa on Hacker News · 2020-03
    In When Bloom filters don't bloom

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.