Skip to content

add tracing-pipeline benchmark script#307

Open
sebffischer wants to merge 1 commit into
mainfrom
tracing-benchmark
Open

add tracing-pipeline benchmark script#307
sebffischer wants to merge 1 commit into
mainfrom
tracing-benchmark

Conversation

@sebffischer
Copy link
Copy Markdown
Contributor

Summary

  • Adds benchmarks/tracing.R, which times each phase of the anvl JIT pipeline (trace_fn, transform_gradient, stablehlo, pjrt_compile) across a few program shapes (elementwise binary/unary chains, MLP, reductions).
  • Split out from improved reverse rule #305 since it is independent of the reverse-rule refactor.

Test plan

  • Rscript benchmarks/tracing.R runs to completion and prints a table per program family.

🤖 Generated with Claude Code

Measure wall-clock time per phase (trace, transform_gradient, stablehlo,
pjrt_compile) across a few program shapes (elementwise binary/unary
chains, MLP, reductions).

Run with: Rscript benchmarks/tracing.R

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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