The Basics of Profiling - Mathieu Ropert - CppCon 2021

Published: 18 February 2022
on channel: CppCon
20,027
408

https://cppcon.org/
https://github.com/CppCon/CppCon2021
---
What to do when a program is slower than what we'd like? Where to start when trying to improve throughput, latency or responsiveness?

In this beginner friendly session we will introduce the two big families of profilers (sampling and instrumentation) and two tools my team uses almost every day when working on games: Optick and vTune.
Through a few concrete cases based on past experience we will study how to troubleshoot a performance problem using a profiler and how the code was improved.

We will illustrate a few classic cases such as inefficient algorithms, unsuitable data structures, I/O waits and bad concurrency.

If time allows we will also see how profilers such as vTune can be used to delve into micro-optimizations by looking at low level metrics such as cache misses and branch prediction.

---
Mathieu Ropert

French C++ expert working on (somewhat) historical video games. Decided to upgrade his compiler once and has been blogging about build systems ever since. Past speaker at CppCon, Meeting C++ and ACCU. Used to run the Paris C++ User Group. Currently lives in Sweden.

---
Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

*--*


Watch video The Basics of Profiling - Mathieu Ropert - CppCon 2021 online, duration hours minute second in high quality that is uploaded to the channel CppCon 18 February 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 20,027 times and liked it 408 visitors.