feat: nightly Tracy trace capture for chonk tx with real inputs#22426
Draft
AztecBot wants to merge 1 commit intomerge-train/barretenbergfrom
Draft
feat: nightly Tracy trace capture for chonk tx with real inputs#22426AztecBot wants to merge 1 commit intomerge-train/barretenbergfrom
AztecBot wants to merge 1 commit intomerge-train/barretenbergfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a nightly CI job that builds bb with Tracy profiling enabled, runs a chonk prove with real IVC inputs, captures a Tracy trace, and uploads it to S3 for later analysis.
This gives the team automatic, up-to-date Tracy traces to investigate thread scheduling, memory allocation patterns, and performance regressions without manual setup.
How it works
tracy-time-instrumented)tracy-captureheadless tool from the same Tracy source CMake already downloadsbb prove --scheme chonkwith real inputs while tracy-capture records the traces3://aztec-ci-artifacts/protocol/tracy-traces/Traces can be downloaded and viewed locally:
Files
barretenberg/cpp/scripts/ci_tracy_chonk_trace.sh— main capture scriptbootstrap.sh— newci-barretenberg-tracy-tracetargetci.sh— newbarretenberg-tracy-traceCI mode (192 CPUs, nightly dashboard).github-new/workflows/nightly-tracy-trace.yml— proposed workflow (needs to be moved to.github/by someone with CI write access)Configurable presets
The workflow supports all four Tracy presets via
workflow_dispatch:tracy-time-instrumented(default) — instrumented time zonestracy-memory— memory allocation + time instrumentationtracy-time-sampled— sampling-based time profilingtracy-gates— circuit gate count trackingClaudeBox log: https://claudebox.work/s/92025c94ba91f5ab?run=2