1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00

renamed the rust versions in perftests

This commit is contained in:
Rene Schallner 2023-08-22 15:59:36 +02:00
parent 9fe223cdb9
commit ee20bce22d
2 changed files with 5 additions and 3 deletions

View file

@ -47,14 +47,14 @@ if [ "$SUBJECT" = "sanic" ] ; then
URL=http://127.0.0.1:8000 URL=http://127.0.0.1:8000
fi fi
if [ "$SUBJECT" = "rust" ] ; then if [ "$SUBJECT" = "rust-bythebook" ] ; then
cd wrk/rust/bythebook && cargo build --release cd wrk/rust/bythebook && cargo build --release
$TSK_SRV ./target/release/hello & $TSK_SRV ./target/release/hello &
PID=$! PID=$!
URL=http://127.0.0.1:7878 URL=http://127.0.0.1:7878
fi fi
if [ "$SUBJECT" = "rust2" ] ; then if [ "$SUBJECT" = "rust-clean" ] ; then
cd wrk/rust/clean && cargo build --release cd wrk/rust/clean && cargo build --release
$TSK_SRV ./target/release/hello & $TSK_SRV ./target/release/hello &
PID=$! PID=$!

View file

@ -6,7 +6,9 @@ if [ ! -d ".git" ] ; then
exit 1 exit 1
fi 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 for S in $SUBJECTS; do
L="$S.perflog" L="$S.perflog"