struct Lapis::Benchmark::Result

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, category : Category, iterations : Int32, samples_ms : Array(Float64), median_ms : Float64, min_ms : Float64, max_ms : Float64, custom_metrics : Hash(String, Float64) = Hash(String, Float64).new, output_result : String | Nil = nil) #

Instance Method Detail

def category : Category #

def clone #

def copy_with(name _name = @name, category _category = @category, iterations _iterations = @iterations, samples_ms _samples_ms = @samples_ms, median_ms _median_ms = @median_ms, min_ms _min_ms = @min_ms, max_ms _max_ms = @max_ms, custom_metrics _custom_metrics = @custom_metrics, output_result _output_result = @output_result) #

def custom_metrics : Hash(String, Float64) #

def iterations : Int32 #

def max_ms : Float64 #

def median_ms : Float64 #

def min_ms : Float64 #

def name : String #

def output_result : String | Nil #

def samples_ms : Array(Float64) #