Files
betterxen/benchmarks/Cargo.toml
T
Ranveer Soni 90e984dc77 feat: add correctness-gated benchmark harness and a second interpreter
Add a manifest-driven benchmark binary that verifies each fixture against
the independent reference and the GPU before timing it, reports per-stage
CPU and GPU durations with medians and quartiles, and writes metadata,
raw JSON and a markdown report. Extend the Metal backend with a profiled
execution path that reads command-buffer GPU start and end times.

Add a structurally independent second interpreter for the demo subset in
the semantic-review suite. It imports neither the decoder, ISA nor
reference and re-derives the encodings from the RDNA 2 field layout. A
differential test compares both interpreters across all three fixtures on
boundary-dense and pseudorandom inputs.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 14:20:32 +05:30

20 lines
455 B
TOML

[package]
name = "xenora-benchmarks"
description = "Correctness-gated native Metal benchmark harness for the Phase 01 corpus"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[[bin]]
name = "xenora-bench"
path = "src/main.rs"
[dependencies]
xenora-shader = { path = "../crates/shader" }
xenora-ref = { path = "../crates/ref" }
xenora-metal = { path = "../crates/metal" }