aztecprotocol/aztec-packages/profile-chonk
Claude Code and agent skill by aztecprotocol/aztec-packages
- community
Checking that the SKILL.md file is still in the repository.
Run the Chonk (client-IVC) prover on the remote EC2 and collect Perfetto-compatible JSON traces. Supports both native and WASM runtimes. Generates a one-click Perfetto UI link for visual analysis. Use when asked to profile, trace, or visualize Chonk proving performance.
Install
npx vskill@latest install aztecprotocol/aztec-packages/profile-chonkSKILL.md
Profile Chonk
Collect Perfetto traces for the Chonk (client-IVC) prover on the remote EC2 benchmarking machine and generate a one-click Perfetto UI link.
Pass --wasm to profile the WASM runtime instead of native. Everything else is identical.
This is the profiling counterpart to /benchmark-chonk (which focuses on timing numbers) — use this when you want a visual trace in Perfetto UI.
Prerequisites — environment check
MANDATORY: Refuse to proceed if these are not set. Check ONLY that the variables are non-empty — do NOT separately check whether the key file path exists; the SSH connection test below is sufficient.
Ask a crypto eng team member for the SSH key and hostname.
Remote bencher contract
The bencher is a runner, not a Git workspace or toolchain bootstrap host.
For private branches and private repos, the canonical workflow is:
- Build the native or WASM
bbbinary locally in the session workspace. - Copy only the built binary plus the pinned input files to the bencher.
- Run that copied binary on the bencher and copy trace outputs back.
Do not send git bundles to the bencher. Do not create remote worktrees. Do not fetch private branches from GitHub on the bencher. Do not install per-session toolchains such as WASI SDK on the shared bencher to make a build work there.
If the local session cannot build because emcc, WASI SDK, or another build tool is missing, stop and report it as a local devbox/copy-base bootstrap issue. The fix is to make the local build environment complete enough to produce the binary, not to mutate the shared bencher.
Available flows
Step 1: Get pinned inputs
Always re-download so that stale inputs (e.g. from before a VK-breaking change like a trace layout shift) are replaced. The download is idempotent and fast.
Step 2: Build bb
Native:
WASM (`--wasm`):
Step 3: Run on remote and collect traces
Set these variables first:
Native:
WASM (`--wasm`):
Download results (both runtimes):
To profile multiple flows, loop FLOW over the values in the Available flows section above.
Step 4: Generate a Perfetto link
Click the link — Perfetto UI fetches and opens the trace. Share with teammates; anyone with the link sees the same trace.
Note: The gist is public. Traces contain only timing/performance data — no keys or secrets.
Step 5: Analyze threading (optional)
Write this script to /tmp/extract_perfetto_zone.py (Claude: use the Write tool) and run it:
Run this sequence to get a full picture of the proving pipeline:
After running, summarize findings as a markdown table with columns: zone, invocations, total wall time, avg thread utilization %, top child. Call out zones with utilization below 50% — those are the parallelism bottlenecks.
Output files reference
All results land in /tmp/chonk-profiles/{native,wasm}/<flow>/ (outside the repo, not git-tracked):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbarretenberg/.claude/skills/profile-chonk/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aztecprotocol/aztec-packages/profile-chonk)