Skip to content

Add tracing instrumentation for prover stages#53

Open
samuelburnham wants to merge 1 commit into
mainfrom
sb/streaming-print
Open

Add tracing instrumentation for prover stages#53
samuelburnham wants to merge 1 commit into
mainfrom
sb/streaming-print

Conversation

@samuelburnham
Copy link
Copy Markdown
Member

Add tracing instrumentation for profiling proof generation. If there is no subscriber initialized then the overhead is negligible, but applications can add subscribers like tracing-texray to collect and display the output.

Emit `tracing` spans for each major STARK proving stage in
`System::prove_multiple_claims`: stage 1 commit, lookup construction,
stage 2 commit, quotient, and FRI opening. Lookup trace construction
itself is broken into `lookup_messages`, `batch_inverse`, and
`lookup_traces` sub-spans. The whole call is wrapped in `stark/prove`
via `#[tracing::instrument]`.

No subscriber is installed here — downstream consumers wire up a
subscriber (e.g. `tracing-texray`) to consume the spans.
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