@@ -63,15 +63,15 @@ for size in $PROGRAMS; do
6363 rm -f " $TMP_DIR /proof.bin"
6464
6565 # Parse absolute heap values (second-to-last column) from HEAP PROFILE section
66- HEAP_VALS=$( awk ' /^=== HEAP PROFILE/,/^ ─/{
67- if ( /After execute/) printf "execute=%s\n", $(NF-1)
68- if ( /After trace build/) printf "trace_build=%s\n", $(NF-1)
69- if ( /After AIR/) printf "air=%s\n", $(NF-1)
70- if ( /after pool alloc/) printf "pool_alloc=%s\n", $(NF-1)
71- if ( /after main commits/) printf "main_commits=%s\n", $(NF-1)
72- if ( /after aux build/) printf "aux_build=%s\n", $(NF-1)
73- if ( /after aux commit/) printf "aux_commit=%s\n", $(NF-1)
74- } ' " $STDERR " )
66+ HEAP_VALS=$( awk '
67+ /After execute/ { printf "execute=%s\n", $(NF-1) }
68+ /After trace build/ { printf "trace_build=%s\n", $(NF-1) }
69+ /After AIR/ { printf "air=%s\n", $(NF-1) }
70+ /after pool alloc/ { printf "pool_alloc=%s\n", $(NF-1) }
71+ /after main commits/ { printf "main_commits=%s\n", $(NF-1) }
72+ /after aux build/ { printf "aux_build=%s\n", $(NF-1) }
73+ /after aux commit/ { printf "aux_commit=%s\n", $(NF-1) }
74+ ' " $STDERR " )
7575
7676 PEAK=$( grep -o ' Peak heap: [0-9]*' " $STDOUT " | awk ' {print $3}' )
7777 echo " steps=$steps " > " $TMP_DIR /${size} _data.txt"
0 commit comments