LinAlgKit

Performance Guide

This page explains the performance characteristics of LinAlgKit and how to reproduce benchmark results.

Determinant algorithms

Running benchmarks

Build with benchmarks enabled and run the harness:

mkdir -p ~/matrixlib_build && cd ~/matrixlib_build
cmake -G "Unix Makefiles" -DBUILD_BENCHMARKS=ON /path/to/repo
cmake --build . -j
python3 /path/to/repo/scripts/run_benchmarks.py --build-dir . --csv results.csv --plot results.png

The harness saves a CSV from Google Benchmark and optionally a simple bar plot (if matplotlib is installed).

Interpreting benchmark output

Tips