RuntimeConfigΒΆ

class RuntimeConfig

Fields:

max_sessionsint = 25

Maximum number of sessions to generate. -1 for unlimited.

benchmark_timeoutint = 300

Benchmark timeout in seconds.

post_timeout_grace_secondsint = -1

Grace period for in-flight requests after timeout. -1 waits for all, 0 exits immediately.

num_dispatcher_threadsint = 2

Number of threads for dispatching requests to workers.

num_completion_threadsint = 2

Number of threads for processing completed requests.

num_client_threadsint = 3

Number of async worker threads for making concurrent requests.

pregenerate_sessionsbool = False

Pre-generate all sessions before starting benchmark timer. Requires max_sessions > 0.