started script to automate benchmarking
This commit is contained in:
parent
0bfe016fbe
commit
09e2f32c60
2 changed files with 21 additions and 0 deletions
16
benchmark
Executable file
16
benchmark
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/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 &
|
||||
5
profile.save
Normal file
5
profile.save
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -xeuv
|
||||
|
||||
tcpConnections=50
|
||||
testLength=3m
|
||||
Loading…
Add table
Add a link
Reference in a new issue