bandwidth showing good on test1
This commit is contained in:
parent
be37453c2a
commit
39b7ed6b52
@ -6,10 +6,9 @@ rm -rf performance_testing
|
||||
|
||||
section TEST0
|
||||
echo "TEST 0 : case of classic cloning."
|
||||
git clone $1
|
||||
: '
|
||||
git clone --progress $1 2> cloning_text
|
||||
|
||||
mem0=$(du ./performance_testing | tail -n1 | tr -cd [:digit:])
|
||||
bw0=$(grep -e "Receiving objects:" cloning_text| grep -o "[[:digit:].]* MiB ")
|
||||
bw0=$(grep -e "Receiving objects:" cloning_text| grep -o "[[:digit:].]* MiB " | tail -n1)
|
||||
echo "memory usage in a classic cloning : $mem0"
|
||||
echo "bandwidth usage : $bw0"
|
||||
'
|
Loading…
Reference in New Issue
Block a user