-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): tracy gate counter preset (#8382)
- Adds options to use tracy memory stack tree view but with gates instead of memory. Similar to how we did a flamegraph of Noir with gates, it makes sense to view them as stemming from certain function groups like we do memory. - We hackishly pretend gate counts are pointers, and tracy plays along NOTE: You may see the occasional tracy warning - this is known, but overall it works. **How to use:** - For users with a sysbox, run the following: `export USER=...sysbox user name...` `ssh $USER-box "cat ~/aztec-packages/barretenberg/cpp/scripts/benchmark_tracy.sh" | bash /dev/stdin $USER` And get a tracy breakdown for the default arguments, so client_ivc_bench with the special tracy gates preset, going to a trace file, copying to local machine, building tracy profiler locally, and opening it You should get a view like this on your local computer, with an interactive stack tree from bottom or top with total gate counts: <img width="1640" alt="Screenshot 2024-09-04 at 8 23 16 PM" src="https://github.com/user-attachments/assets/33a0fb6c-1de8-402a-bf83-20afda8db9ca">
- Loading branch information
Showing
8 changed files
with
93 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
882af1e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.05
.wasmClientIVCBench/Full/6
42261.761411
ms/iter39185.085528999996
ms/iter1.08
This comment was automatically generated by workflow using github-action-benchmark.
CC: @ludamad @codygunton