class Cryload::Stats

Overview

Stats holder for the benchmark

Defined in:

cryload/stats.cr

Constant Summary

REQUESTS = [] of Request
TIME_IN_MILISECONDS = 1000

Constructors

Instance Method Summary

Constructor Detail

def self.new(request_number : Int32) #

[View source]

Instance Method Detail

def <<(request) #

[View source]
def average_request_time #

[View source]
def max_request_time #

[View source]
def min_request_time #

[View source]
def not_ok_requests #

[View source]
def ok_requests #

[View source]
def ongoing_check_number : Int32 #

[View source]
def request_number : Int32 #

[View source]
def request_per_second #

[View source]
def requests #

[View source]
def total_request_count : Int32 #

[View source]
def total_request_time_in_seconds #

[View source]