Skip to content

Add OpenBLAS-vs-JIT crossover benchmark - #122

Closed
MesTTo wants to merge 2 commits into
trueagi-io:mainfrom
MesTTo:pr/linalg-crossover-bench
Closed

Add OpenBLAS-vs-JIT crossover benchmark#122
MesTTo wants to merge 2 commits into
trueagi-io:mainfrom
MesTTo:pr/linalg-crossover-bench

Conversation

@MesTTo

@MesTTo MesTTo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Depends on #111 (OpenBLAS backend) and #115 (einsum-f32 JIT); both appear in the diff until they merge, after which this is just the crossover benchmark.

Adds a benchmark that sweeps matrix density and compares the OpenBLAS dense backend against the einsum-f32 JIT, so the crossover point (where sparse JIT overtakes dense BLAS) is measurable. Behind jit + blas.

Validation:

  • CARGO_HOME=/home/user/Dev/.cargo-isolated RUSTFLAGS='-C target-cpu=native -Awarnings' cargo +nightly build -p linalg --features "jit blas" --benches
  • git diff --check

@MesTTo

MesTTo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

this one genuinely needs both backends to compare them (openblas from #111 and the jit from #115), so it can't apply independently and bundling all three into one diff isn't reviewable. holding it as a small standalone bench to add the moment #111 and #115 are both in, rather than stacking. closing for now.

@MesTTo MesTTo closed this Jun 24, 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.

1 participant