# Performance measurements The performance suite measures recorded daemon workloads and compares their resource use against committed budgets and a baseline. - From the repository root, [`run.py`](run.py) accepts `--mode replay --runs 5 --out /tmp/perf/results.json`. `--scenario` selects workloads and compares each metric whose inputs are present. - [`compare.py`](compare.py) accepts a result JSON path and optional `--baseline`. [`budgets.toml`](budgets.toml) defines the metric limits. - [`scenarios.py`](scenarios.py) owns workloads, [`measurement.py`](measurement.py) samples processes, and [`transport.py`](transport.py) records and replays provider traffic. - The [report component](report/README.md) documents the published performance report. See [the perf reference](../robot-docs/perf.md).