Skip to content

docs: document Criterion benchmarks in testing guide - #1231

Merged
hakula139 merged 1 commit into
mainfrom
docs/document-benchmarks
Dec 6, 2026
Merged

hakula139 merged 1 commit into
mainfrom
docs/document-benchmarks

Conversation

@hakula139

Copy link
Copy Markdown
Member

Summary

  • Add a ## Benchmarks section to docs/testing.md covering the hot_paths (ox-core) and render (ox-tui) Criterion benchmark targets and their seven benchmark groups.
  • Document local commands for compile-checking, smoke-testing (--test), full runs, and before / after baseline comparison (--save-baseline / --baseline).
  • Document .github/workflows/benchmarks.yml triggers for pull request compile-checks and scheduled or manual full runs.

Test plan

  • Verify target names, benchmark groups, and CI triggers against crates/ox-core/benches/hot_paths.rs, crates/ox-tui/benches/render.rs, and .github/workflows/benchmarks.yml.
  • Run nix develop -c run-hooks (all hooks passed, including cspell, dprint, markdownlint-cli2, prettier, and clippy).

@hakula139 hakula139 added the documentation Documentation changes label Dec 6, 2026
@hakula139 hakula139 self-assigned this Dec 6, 2026
@codecov

codecov Bot commented Dec 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hakula139
hakula139 merged commit 335a015 into main Dec 6, 2026
10 checks passed
@hakula139
hakula139 deleted the docs/document-benchmarks branch December 6, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant