Commit 3307959d authored by nagayama15's avatar nagayama15

Update the aggregation script

parent 2c149243
......@@ -7,11 +7,12 @@ wasms=(
$PWD/ammo.wasm.wasm
)
echo "name, size[B], funcord[B], opswap[B]"
echo "name, funcs, size[B], funcord[B], opswap[B]"
for i in $wasms[@]
do
size="$(stat -f%z "$i")"
funcs="$(funccnt "$i")"
funcord="$((snpi "$i" funcord "Test" > /dev/null) |& awk '{print $1}')"
opswap="$((snpi "$i" opswap "Test" > /dev/null) |& awk '{print $1}')"
echo "${i/$PWD\//}, $size, $funcord, $opswap"
echo "${i/$PWD\//}, $size, $funcs, $funcord, $opswap"
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment