added logging to file
This commit is contained in:
parent
09e2f32c60
commit
78763b5b6d
4 changed files with 118 additions and 2 deletions
|
|
@ -4,13 +4,14 @@ testUrl=test.fluffyb.net
|
|||
tcpConnections=50
|
||||
testLength=15s
|
||||
threads=1
|
||||
proto=("http://", "https://")
|
||||
proto=("http://" "https://")
|
||||
dataStore=$(pwd)/testData/$(date +%F-%H-%M)
|
||||
|
||||
for pr in ${proto[@]};
|
||||
do
|
||||
for i in `seq 1 $(($(getconf _NPROCESSORS_ONLN)))`;
|
||||
do
|
||||
docker run --rm git.sethsamuel.online/fluffy/wrk -t $i -c $tcpConnections -d $testLength --latency $pr$testUrl/1kb.file
|
||||
docker run --rm git.sethsamuel.online/fluffy/wrk -t $i -c $tcpConnections -d $testLength --latency $pr$testUrl/1kb.file >> $dataStore
|
||||
done
|
||||
done
|
||||
#taskset -c $i wrk -t $threads -c $tcpConnections -d $testLength $testUrl/1kb.file &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue