16 lines
426 B
Bash
Executable file
16 lines
426 B
Bash
Executable file
#!/bin/bash
|
|
set -xeuv
|
|
testUrl=test.fluffyb.net
|
|
tcpConnections=50
|
|
testLength=15s
|
|
threads=1
|
|
proto=("http://", "https://")
|
|
|
|
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
|
|
done
|
|
done
|
|
#taskset -c $i wrk -t $threads -c $tcpConnections -d $testLength $testUrl/1kb.file &
|