Cryload::RunConfig - cryload 6.0.0

# struct Cryload::RunConfig

- Cryload::RunConfig
- Struct
- Value
- Object

##
Overview

Immutable description of the run, carried into the report so a JSON artifact is self-describing.

##
Defined in:

cryload/stats.cr

##
Constructors

- .new(workers : Int32 = 1, connections : Int32 = 10, rate_limit : Float64 | Nil = nil, latency_correction : Bool = true, keepalive : Bool = true, timeout : Time::Span | Nil = nil, request_timeout : Time::Span | Nil = nil, duration : Time::Span | Nil = nil, warmup : Time::Span | Nil = nil, request_number : Int32 | Nil = nil)

##
Instance Method Summary

- #connections : Int32
- #duration : Time::Span | Nil
- #keepalive? : Bool
- #latency_correction? : Bool
- #rate_limit : Float64 | Nil
- #request_number : Int32 | Nil
- #request_timeout : Time::Span | Nil
- #timeout : Time::Span | Nil
- #warmup : Time::Span | Nil
- #workers : Int32

##
Constructor Detail

def self.new(workers : Int32 = 1, connections : Int32 = 10, rate_limit : Float64 | Nil = nil, latency_correction : Bool = true, keepalive : Bool = true, timeout : Time::Span | Nil = nil, request_timeout : Time::Span | Nil = nil, duration : Time::Span | Nil = nil, warmup : Time::Span | Nil = nil, request_number : Int32 | Nil = nil) #

##
Instance Method Detail

def connections : Int32 #
def duration : Time::Span | Nil #
def keepalive? : Bool #
def latency_correction? : Bool #
def rate_limit : Float64 | Nil #
def request_number : Int32 | Nil #
def request_timeout : Time::Span | Nil #
def timeout : Time::Span | Nil #
def warmup : Time::Span | Nil #
def workers : Int32 #