File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ echo "The following are optional across both use cases"
3838echo " RUNS = defaults to empty"
3939echo " FILTER = defaults to empty"
4040echo " MACHINE_THREADS - used for building node. Defaults to all threads on machine"
41- echo " CPUSET - used for pinning to specific CPU cores. Default to 0-11 (performance cores)"
4241}
4342
4443if [ -z $PULL_ID ]; then
5453mandatory CATEGORY
5554optional RUNS
5655optional FILTER
57- optional CPUSET " 0-11"
5856getMACHINE_THREADS=` cat /proc/cpuinfo | grep processor| tail -n1| awk {' print $3' }`
5957let getMACHINE_THREADS=getMACHINE_THREADS+1 # getting threads this way is 0 based. Add one
6058optional MACHINE_THREADS $getMACHINE_THREADS
9896if [ -n " $RUNS " ]; then
9997 RUNS=" --runs ${RUNS} "
10098fi
101- if [ -n " $CPUSET " ]; then
102- CPUSET=" --set CPUSET=${CPUSET} "
103- fi
10499# run benchmark
105100fileName=output` date +%d%m%y-%H%M%S` .csv
106101echo " Output will be saved to $fileName "
107102pwd
108- ./node-master benchmark/compare.js $CPUSET --old ./node-master --new ./node-pr $FILTER $RUNS -- $CATEGORY | tee $fileName
103+ ./node-master benchmark/compare.js --old ./node-master --new ./node-pr $FILTER $RUNS -- $CATEGORY | tee $fileName
109104
110105cat $fileName | Rscript benchmark/compare.R
111106mv $fileName $startDir
You can’t perform that action at this time.
0 commit comments