diff --git a/wrk/measure.sh b/wrk/measure.sh index 23cae4d..b1c1694 100755 --- a/wrk/measure.sh +++ b/wrk/measure.sh @@ -14,7 +14,7 @@ if [ "$SUBJECT" = "" ] ; then exit 1 fi -if [ "$SUBJECT" = "zig" ] ; then +if [ "$SUBJECT" = "zig-zap" ] ; then zig build -Doptimize=ReleaseFast wrk > /dev/null $TSK_SRV ./zig-out/bin/wrk & PID=$! @@ -41,7 +41,7 @@ if [ "$SUBJECT" = "python" ] ; then URL=http://127.0.0.1:8080 fi -if [ "$SUBJECT" = "sanic" ] ; then +if [ "$SUBJECT" = "python-sanic" ] ; then $TSK_SRV python wrk/sanic/sanic-app.py & PID=$! URL=http://127.0.0.1:8000 @@ -61,7 +61,7 @@ if [ "$SUBJECT" = "rust-clean" ] ; then URL=http://127.0.0.1:7878 fi -if [ "$SUBJECT" = "axum" ] ; then +if [ "$SUBJECT" = "rust-axum" ] ; then cd wrk/axum/hello-axum && cargo build --release $TSK_SRV ./target/release/hello-axum & PID=$! diff --git a/wrk/measure_all.sh b/wrk/measure_all.sh index 258bd60..b85c296 100755 --- a/wrk/measure_all.sh +++ b/wrk/measure_all.sh @@ -6,13 +6,14 @@ if [ ! -d ".git" ] ; then exit 1 fi -SUBJECTS="zig go python sanic rust-bythebook rust-clean axum csharp cpp-beast" +SUBJECTS="zig-zap go python python-sanic rust-bythebook rust-clean rust-axum csharp cpp-beast" rm -f wrk/*.perflog for S in $SUBJECTS; do L="$S.perflog" - for R in 1 2 3 ; do + # for R in 1 2 3 ; do + for R in 1 ; do ./wrk/measure.sh $S | tee -a wrk/$L done done