You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
493 B
Bash
12 lines
493 B
Bash
echo "Module: $1";
|
|
echo "Threads: $2";
|
|
echo "Connections: $3";
|
|
echo "Duration: $4";
|
|
|
|
wrk -t$2 -c$3 -d$4s -s ./scripts/lua/dump_index.lua http://127.0.0.1:8080/test/
|
|
wrk -t$2 -c$3 -d$4s -s ./scripts/lua/dump_get.lua http://127.0.0.1:8080/test/100
|
|
wrk -t$2 -c$3 -d$4s -s ./scripts/lua/dump_post.lua http://127.0.0.1:8080/test/100
|
|
|
|
mv ./docker/data/index.json ./docker/data/index-$1.json
|
|
mv ./docker/data/get.json ./docker/data/get-$1.json
|
|
mv ./docker/data/post.json ./docker/data/post-$1.json |