1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

zig wrk example: reduce # of workers

This commit is contained in:
Rene Schallner 2023-08-22 14:20:10 +02:00
parent 62574a118c
commit 2739decb36

View file

@ -19,6 +19,6 @@ pub fn main() !void {
// start worker threads
zap.start(.{
.threads = 4,
.workers = 4,
.workers = 2, // empirical tests: yield best perf on my machine
});
}