aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/jenkins/run_performance_profile_hourly.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jenkins/run_performance_profile_hourly.sh')
-rwxr-xr-xtools/jenkins/run_performance_profile_hourly.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/jenkins/run_performance_profile_hourly.sh b/tools/jenkins/run_performance_profile_hourly.sh
index 1d5930eb41..dfcc2bb116 100755
--- a/tools/jenkins/run_performance_profile_hourly.sh
+++ b/tools/jenkins/run_performance_profile_hourly.sh
@@ -32,9 +32,10 @@ set -ex
cd $(dirname $0)/../..
-make CONFIG=opt memory_profile_test memory_profile_client memory_profile_server
+CPUS=`python -c 'import multiprocessing; print multiprocessing.cpu_count()'`
+
+make CONFIG=opt memory_profile_test memory_profile_client memory_profile_server -j $CPUS
bins/opt/memory_profile_test
bq load microbenchmarks.memory memory_usage.csv
tools/run_tests/run_microbenchmark.py --collect summary --bigquery_upload
-