diff --git a/wrk/measure.sh b/wrk/measure.sh index aa674c5..238fa00 100755 --- a/wrk/measure.sh +++ b/wrk/measure.sh @@ -47,14 +47,14 @@ if [ "$SUBJECT" = "sanic" ] ; then URL=http://127.0.0.1:8000 fi -if [ "$SUBJECT" = "rust" ] ; then +if [ "$SUBJECT" = "rust-bythebook" ] ; then cd wrk/rust/bythebook && cargo build --release $TSK_SRV ./target/release/hello & PID=$! URL=http://127.0.0.1:7878 fi -if [ "$SUBJECT" = "rust2" ] ; then +if [ "$SUBJECT" = "rust-clean" ] ; then cd wrk/rust/clean && cargo build --release $TSK_SRV ./target/release/hello & PID=$! diff --git a/wrk/measure_all.sh b/wrk/measure_all.sh index 0a67338..c8350a1 100755 --- a/wrk/measure_all.sh +++ b/wrk/measure_all.sh @@ -6,7 +6,9 @@ if [ ! -d ".git" ] ; then exit 1 fi -SUBJECTS="zig go python sanic rust rust2 axum csharp cpp" +SUBJECTS="zig go python sanic rust-bythebook rust-clean axum csharp cpp" + +rm -f wrk/*.perflog for S in $SUBJECTS; do L="$S.perflog"