Skip to content

Commit b6a1f2d

Browse files
committed
Use shallow clone in benchmark script
1 parent 27e498e commit b6a1f2d

File tree

1 file changed

+1
-1
lines changed
  • benchmarks/community-benchmark

1 file changed

+1
-1
lines changed

Diff for: benchmarks/community-benchmark/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ getMACHINE_THREADS=`cat /proc/cpuinfo |grep processor|tail -n1|awk {'print $3'}`
8181
let getMACHINE_THREADS=getMACHINE_THREADS+1 #getting threads this way is 0 based. Add one
8282
optional MACHINE_THREADS $getMACHINE_THREADS
8383
rm -rf node
84-
git clone https://github.com/nodejs/node.git
84+
git clone --depth=1 https://github.com/nodejs/node.git
8585
cd node
8686
case $USE_CASE in
8787
1)

0 commit comments

Comments
 (0)