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:
parent
62574a118c
commit
2739decb36
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue