feat: add aztec profile command with gate count profiling#20695
Merged
nchamo merged 2 commits intomerge-train/fairiesfrom Feb 20, 2026
Merged
feat: add aztec profile command with gate count profiling#20695nchamo merged 2 commits intomerge-train/fairiesfrom
aztec profile command with gate count profiling#20695nchamo merged 2 commits intomerge-train/fairiesfrom
Conversation
Collaborator
|
Commented on other one, but why not aztec simulate? |
Collaborator
|
and why does this not touch yarn-project/cli-wallet/src/utils/profiling.ts |
Contributor
Author
Collaborator
|
good with it after chatting |
Contributor
|
@nchamo in our merge train PR the What is weird that locally it passes:
Do you have a clue why this might be the case? Could it be some stale artifacts in CI issue or something? (this tends to be the case when a failure is only in CI) Can help debug. |
Contributor
Author
Contributor
|
Perfect. Thanks! |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 23, 2026
BEGIN_COMMIT_OVERRIDE refactor: aztec new and init creating 2 crates (#20681) fix: hodgepodge of small things (#20720) test: aztec new scaffold works (#20711) feat: add `aztec profile` command with gate count profiling (#20695) fix(txe): committing after txs (#20714) feat: add aztec profile flamegraph command (#20741) feat: printing out public contract function debug logs in a tx (#20749) END_COMMIT_OVERRIDE
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 new
aztec profilecommand that profiles compiled Aztec artifacts. The first subcommand,aztec profile gates, displays gate counts for all compiled contracts and circuits in a target directory.This is the beginning of a profiling suite for Aztec developers. The
flamegraphcommand will be added as a subcommand underaztec profilenext, consolidating all profiling tools in one place. Running bareaztec profileshows help listing available subcommands.Sample output (on the test workspace with a simple contract and two circuits):
Addresses #20323