mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Merge pull request #1406 from mofarrell/executable-size-benchmark
Added benchmark for executable size.
This commit is contained in:
commit
48ef62bda6
@ -48,6 +48,9 @@ mkdir -p $OUTDIR
|
|||||||
export BENCHMARK_TO_FILE="--benchmark_format=csv :>$OUTDIR/$NODE-benchmark.csv"
|
export BENCHMARK_TO_FILE="--benchmark_format=csv :>$OUTDIR/$NODE-benchmark.csv"
|
||||||
make run-benchmark/fast
|
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"
|
export BENCHMARK_TO_FILE="--benchmark_format=csv :>$OUTDIR/$NODE-kernel-benchmark.csv"
|
||||||
make run-kernel-benchmark/fast
|
make run-kernel-benchmark/fast
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user