RuntimeConfigΒΆ
class RuntimeConfig
Fields:
max_sessionsint =25Maximum number of sessions to generate. -1 for unlimited.
benchmark_timeoutint =300Benchmark timeout in seconds.
post_timeout_grace_secondsint =-1Grace period for in-flight requests after timeout. -1 waits for all, 0 exits immediately.
num_dispatcher_threadsint =2Number of threads for dispatching requests to workers.
num_completion_threadsint =2Number of threads for processing completed requests.
num_client_threadsint =3Number of async worker threads for making concurrent requests.
pregenerate_sessionsbool =FalsePre-generate all sessions before starting benchmark timer. Requires max_sessions > 0.