Skip to content

Add tx-trace-snapshot producer#2794

Draft
Al-Kindi-0 wants to merge 1 commit intonextfrom
al/tx-trace-snapshot
Draft

Add tx-trace-snapshot producer#2794
Al-Kindi-0 wants to merge 1 commit intonextfrom
al/tx-trace-snapshot

Conversation

@Al-Kindi-0
Copy link
Copy Markdown
Collaborator

Adds a new bin target under bin/bench-transaction/src/bin/tx-trace-snapshot.rs that executes representative transaction contexts through the VM, builds a real ExecutionTrace, reads per-component trace lengths from TraceLenSummary, and writes one JSON snapshot per scenario under bin/bench-transaction/snapshots/. These snapshots are the input to miden-vm's new miden-synthetic-tx-kernel bench.

This is a simplified variant of the cross-repo benchmark approach originally prototyped in #2391. Rather than maintaining a fused bench that runs miden-vm code from within this repo, this producer only writes a small JSON descriptor of the workload; the bench itself lives entirely in miden-vm and has no runtime dependency on protocol.

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