Expand description
tak — benchmark command-line programs and track their performance over time.
Pre-v1: interfaces and behavior are not finalized and may change between releases.
Exposed as a library so the measurement and storage layers can be exercised
by integration tests. measure::instructions in particular went a long time
written-but-never-executed, which is exactly the failure this guards against.
Modules§
- accept
- Declared, intentional regressions: which benchmarks a change says it made more expensive on purpose, and who said so.
- artifact
- Portable handoff between a read-only measurement job and a write-capable publisher.
- backfill
- Backfill history from published release binaries.
- baseline
- Named local baselines, for the edit-measure loop.
- compare
- Compare one commit’s measurements against another’s.
- condition
whenconditions intak.toml, written in expr — the language mise uses for its own conditions — and evaluated with expr-lang.- config
tak.toml— declared benchmarks.- detect
- Find instruction-count steps that have already landed on a branch.
- export
- Results in hyperfine’s
--export-jsonshape. - machine
- The machine a run was measured on, for
tak run --export-json. - measure
- Measurement backends.
- notes
- Storage: benchmark results as git notes under
refs/notes/tak. - profile
- Per-function instruction profiles, and where a change between two of them went.
- progress
- Progress for a benchmark run, on stderr.
- record
- The on-disk record format.
- report
- A benchmark’s history: each series’ measurements over first-parent commits.
- settings
- Settings, and where their values come from.
- template
- Templates in
tak.tomlvalues, rendered with tera — the same syntax mise uses, so{{ env.HOME }}means the same thing in both files. - worktree
- Throwaway checkouts of historical commits, for
tak backfill --commits.