Skip to content

Commit d7c619a

Browse files
authored
run compare on perf cores (#162)
* run compare on perf cores * update http to https
1 parent f945bb5 commit d7c619a

File tree

1 file changed

+4
-2
lines changed
  • benchmarks/community-benchmark

1 file changed

+4
-2
lines changed

benchmarks/community-benchmark/run.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ getMACHINE_THREADS=`cat /proc/cpuinfo |grep processor|tail -n1|awk {'print $3'}`
5757
let getMACHINE_THREADS=getMACHINE_THREADS+1 #getting threads this way is 0 based. Add one
5858
optional MACHINE_THREADS $getMACHINE_THREADS
5959
rm -rf node
60-
git clone http://github.com/nodejs/node.git
60+
git clone https://github.com/nodejs/node.git
6161
cd node
6262
case $USE_CASE in
6363
1)
@@ -100,7 +100,9 @@ fi
100100
fileName=output`date +%d%m%y-%H%M%S`.csv
101101
echo "Output will be saved to $fileName"
102102
pwd
103-
./node-master benchmark/compare.js --old ./node-master --new ./node-pr $FILTER $RUNS -- $CATEGORY | tee $fileName
103+
104+
# Run on performance cores
105+
taskset -c 0-11 ./node-master benchmark/compare.js --old ./node-master --new ./node-pr $FILTER $RUNS -- $CATEGORY | tee $fileName
104106

105107
cat $fileName | Rscript benchmark/compare.R
106108
mv $fileName $startDir

0 commit comments

Comments
 (0)