From 55070980b94f0a41a23beadc4edb149fd87a94a4 Mon Sep 17 00:00:00 2001 From: sirasistant Date: Fri, 2 Aug 2024 09:13:47 +0000 Subject: [PATCH] feat: Profile app circuits with megahonk --- noir-projects/noir-contracts/scripts/flamegraph.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noir-projects/noir-contracts/scripts/flamegraph.sh b/noir-projects/noir-contracts/scripts/flamegraph.sh index 389f8c02712..96d6d99f033 100755 --- a/noir-projects/noir-contracts/scripts/flamegraph.sh +++ b/noir-projects/noir-contracts/scripts/flamegraph.sh @@ -52,7 +52,7 @@ FUNCTION_ARTIFACT="${ARTIFACT_NAME}-${FUNCTION}.json" mkdir -p "$SCRIPT_DIR/../dest" # At last, generate the flamegraph -$PROFILER gates-flamegraph --artifact-path "$SCRIPT_DIR/../target/$FUNCTION_ARTIFACT" --backend-path "$SCRIPT_DIR/../../../barretenberg/cpp/build/bin/bb" --output "$SCRIPT_DIR/../dest" +$PROFILER gates-flamegraph --artifact-path "$SCRIPT_DIR/../target/$FUNCTION_ARTIFACT" --backend-path "$SCRIPT_DIR/../../../barretenberg/cpp/build/bin/bb" --backend-gates-command "gates_mega_honk" --output "$SCRIPT_DIR/../dest" # serve the file over http echo "Serving flamegraph at http://0.0.0.0:8000/main_gates.svg"