diff --git a/tools/benchmark.sh b/tools/benchmark.sh index 98424f52..84235f27 100755 --- a/tools/benchmark.sh +++ b/tools/benchmark.sh @@ -48,6 +48,9 @@ mkdir -p $OUTDIR export BENCHMARK_TO_FILE="--benchmark_format=csv :>$OUTDIR/$NODE-benchmark.csv" make run-benchmark/fast +du $SCRIPT_DIR/../build/*/*/osqueryi | awk '{print "\"EXECUTABLE_osqueryi_size\","$1",,,,,"}' >>$OUTDIR/$NODE-benchmark.csv +du $SCRIPT_DIR/../build/*/*/osqueryd | awk '{print "\"EXECUTABLE_osqueryd_size\","$1",,,,,"}' >>$OUTDIR/$NODE-benchmark.csv + export BENCHMARK_TO_FILE="--benchmark_format=csv :>$OUTDIR/$NODE-kernel-benchmark.csv" make run-kernel-benchmark/fast