1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
zap/wrk/measure_all.sh
2023-08-22 15:45:00 +02:00

18 lines
373 B
Bash
Executable file

#! /usr/bin/env bash
if [ ! -d ".git" ] ; then
echo "This script must be run from the root directory of the repository!"
echo "./wrk/measure_all.sh"
exit 1
fi
SUBJECTS="zig go python sanic rust rust2 axum csharp cpp"
for S in $SUBJECTS; do
L="$S.perflog"
for R in 1 2 3 ; do
./wrk/measure.sh $S | tee -a wrk/$L
done
done
echo "Finished"