1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +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
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=$!

View file

@ -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"