Adds another command to the noir profiler binary, opcodes-flamegraph, with the following usage:
noir-profiler opcodes-flamegraph -a PATH_TO_THE_ARTIFACT -o OUTPUT_PATH
for example:
~/aztec-packages/noir/noir-repo/target/release/noir-profiler opcodes-flamegraph -a ~/aztec-packages/noir-projects/noir-protocol-circuits/target/private_kernel_inner.json -o .
Results in a flamegraph that counts the opcodes (not the gates) for all the call stacks, like the following:
This PR also refactors the gates-flamegraph and adds as the last call stack item the opcode type generated, to have more complete profiling information:
Adds another command to the noir profiler binary, opcodes-flamegraph, with the following usage:
for example:
Results in a flamegraph that counts the opcodes (not the gates) for all the call stacks, like the following:
This PR also refactors the gates-flamegraph and adds as the last call stack item the opcode type generated, to have more complete profiling information: