C++ Performance profiling C++ Performance profiling
Format
This is a half day course.
Prerequisites
This course is aimed at people who write C++ code (or other compiled languages) where performance is important, and who want a better understanding of the performance characteristics of their program. Participants are required to bring their own laptops to work on during the course. Network access (e.g. through Eduroam) is recommended.
Summary
We use compiled languages like C++, Rust or Fortran to get good performance, so measuring and understanding the performance characteristics of our code is vital, for example to identify bottlenecks or to determine if a change to the code actually improves the performance. In this course we will cover different ways to profile and benchmark the performance of our code, and discuss the pros and cons of each method. Code examples will be in C++ but the profiling applies to most compiled languages.
Learning Objectives
After the course participants should be able to
- Use sampling profilers like samply and perf to measure performance
- Integrate microbenchmarks into their C++ codebase
- Use simulation tools like callgrind to measure performance
Signup
This is an on-demand course. You can indicate your interest in the course by signing up. Once a threshold of potential participants is met, we will get in touch with you to schedule the course. Please use the SSC Booking System to sign up.

