mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-22 23:10:32 +00:00
Allow inbound queue utilization in drainer benchmarks
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user