Skip to content

Commit 953abed

Browse files
committed
Use shallow clone in benchmark script
1 parent c8297c7 commit 953abed

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
@@ -76,7 +76,7 @@ getMACHINE_THREADS=`cat /proc/cpuinfo |grep processor|tail -n1|awk {'print $3'}`
7676
let getMACHINE_THREADS=getMACHINE_THREADS+1 #getting threads this way is 0 based. Add one
7777
optional MACHINE_THREADS $getMACHINE_THREADS
7878
rm -rf node
79-
git clone https://github.com/nodejs/node.git
79+
git clone --depth=1 https://github.com/nodejs/node.git
8080
cd node
8181
case $USE_CASE in
8282
1)

0 commit comments

Comments
 (0)