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.crConstructors
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)
#