Merge pull request #1406 from mofarrell/executable-size-benchmark

Added benchmark for executable size.
This commit is contained in:
Michael O'Farrell 2015-07-28 23:14:58 -07:00
commit 48ef62bda6

View File

@ -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