3 # Remove the suppressed line and the total heap usage line.
4 # Replace the absolute number of bytes different of 0 by x.
6 sed -e '/ suppressed:/d'\
7 -e '/ total heap usage:/d'\
8 -e 's/[1-9][0-9,]* bytes/x bytes/' \
9 -e 's/[1-9][0-9,]* (\([+-]\)[1-9][0-9,]*) bytes/x (\1x) bytes/' \
10 -e 's/0 (\([+-]\)[1-9][0-9,]*) bytes/0 (\1x) bytes/' \
11 -e 's/[1-9][0-9,]* (\([+-]\)0) bytes/x (\10) bytes/'