View on GitHub

High Performance C++

SSC Compact Course

High Performance C++

License: MIT GitHub Workflow Status codecov

Slides

download slides as pdf download course description as pdf

Getting started

To clone the repo, compile the code and run the benchmarks:

git clone --recursive https://github.com/ssciwr/high-performance-cpp.git
cd high-performance-cpp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
./bench/bench

Notes

Plots

List versus Vector inserting elements:

Matrix-vector multiplication:

Struct of Arrays versus Array of Structs: