Allow inbound queue utilization in drainer benchmarks

master
Mark Qvist 2026-08-28 11:11:42 +02:00
parent 77c8256a1a
commit b28f5ebf7a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ def _bench_drainer(scenario, n, runs):
_feed(scenario.frames[base + i], scenario.interface)
fed += batch
target = baseline + fed
while scenario.completion_counter() < target:
while scenario.completion_counter() < target-800: # Assumes default inbound queue of 1024
time.sleep(0.0002)
dt = time.perf_counter() - t0
gc.enable()