struct Cryload::RunConfig

Overview

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

Defined in:

cryload/stats.cr

Constructors

Instance Method Summary

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 #