diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 970ab5b755..a1f30cc8ff 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -306,9 +306,9 @@ jobs: - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-base-private, num_runs: 5 } - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-base-public, num_runs: 5 } - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-merge, num_runs: 5 } - - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-root-empty, num_runs: 1 } - - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-root-single-tx, num_runs: 1 } - - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-root, num_runs: 1 } + - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-root-empty, num_runs: 5 } + - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-root-single-tx, num_runs: 1, flags: "--skip-brillig-constraints-check --skip-underconstrained-check" } + - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-block-root, num_runs: 1, flags: "--skip-brillig-constraints-check --skip-underconstrained-check" } - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-merge, num_runs: 5 } - project: { repo: AztecProtocol/aztec-packages, path: noir-projects/noir-protocol-circuits/crates/rollup-root, num_runs: 5 } @@ -352,7 +352,9 @@ jobs: chmod +x parse_time.sh cp /home/runner/work/noir/noir/scripts/test_programs/parse_time.sh ./parse_time.sh ./compilation_report.sh 1 ${{ matrix.project.num_runs }} - + env: + FLAGS: ${{ matrix.project.flags }} + - name: Generate execution report working-directory: ./test-repo/${{ matrix.project.path }} if: ${{ !matrix.project.is_library }} diff --git a/test_programs/memory_report.sh b/test_programs/memory_report.sh index e501464c19..a5c13f58b0 100755 --- a/test_programs/memory_report.sh +++ b/test_programs/memory_report.sh @@ -19,6 +19,7 @@ fi FIRST="1" +FLAGS=${FLAGS:- ""} echo "{\"memory_reports\": [ " > memory_report.json for test_name in ${tests_to_profile[@]}; do @@ -35,12 +36,12 @@ for test_name in ${tests_to_profile[@]}; do test_name=$(basename $current_dir) fi - COMMAND="compile --force --silence-warnings" + COMMAND="compile --force --silence-warnings $FLAGS" if [ "$2" == "1" ]; then COMMAND="execute --silence-warnings" fi - heaptrack --output $current_dir/$test_name"_heap" $NARGO $COMMAND + heaptrack --output $current_dir/$test_name"_heap" $NARGO $COMMAND if test -f $current_dir/$test_name"_heap.gz"; then heaptrack --analyze $current_dir/$test_name"_heap.gz" > $current_dir/$test_name"_heap_analysis.txt"