hackertube.io

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

CppCon · talk · Watch on YouTube

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

  1. “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”

  2. “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?”

  3. “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