mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
reverted workers back to 4 in zig perf test
This commit is contained in:
parent
6562d9ed3e
commit
14f3af7c63
2 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@ fi
|
|||
|
||||
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"
|
||||
rm -f wrk/$L
|
||||
for R in 1 2 3 ; do
|
||||
./wrk/measure.sh $S | tee -a wrk/$L
|
||||
done
|
||||
|
|
|
@ -19,6 +19,6 @@ pub fn main() !void {
|
|||
// start worker threads
|
||||
zap.start(.{
|
||||
.threads = 4,
|
||||
.workers = 2, // empirical tests: yield best perf on my machine
|
||||
.workers = 4, // empirical tests: yield best perf on my machine
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue