Skip to content

Add CPU contraction benchmark harness - #40

Closed
GiggleLiu wants to merge 1 commit into
mainfrom
perf/pr39-performance-verification
Closed

Add CPU contraction benchmark harness#40
GiggleLiu wants to merge 1 commit into
mainfrom
perf/pr39-performance-verification

Conversation

@GiggleLiu

Copy link
Copy Markdown
Collaborator

Summary

  • Add a release-mode CPU contraction benchmark example covering RHS transpose views, batch-major batched contractions, and optimized-root output permutations.
  • Wire make bench to the benchmark example with tunable make variables.
  • Update the performance guide with benchmark usage and corrected optional parallel feature guidance.

Test Plan

  • cargo fmt --all -- --check
  • cargo check --example cpu_contract_bench
  • cargo clippy --example cpu_contract_bench --features tropical,parallel -- -D warnings
  • make bench BENCH_SCENARIO=all BENCH_ITERATIONS=1 BENCH_WARMUP=0 BENCH_DIM=4 BENCH_BATCH=2
  • make check
  • cargo build --release --example cpu_contract_bench

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@GiggleLiu

Copy link
Copy Markdown
Collaborator Author

Merged the PR 40 benchmark harness into PR 29 via commit 9a2a67a, so closing this duplicate follow-up PR.

@GiggleLiu GiggleLiu closed this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants