class

Benchmark::IPS::Entry

Inherits Reference / Object

Constructors

new(label : String, action : -> )
Source

Instance methods

action

Code to be benchmarked

Source
action=(action : -> )

Code to be benchmarked

Source
bytes_per_op

Number of bytes allocated per operation

Source
bytes_per_op=(bytes_per_op : UInt64)

Number of bytes allocated per operation

Source
bytes_per_op?

Number of bytes allocated per operation

Source
calculate_stats(samples) : Nil
Source
call
Source
call_for_100ms
Source
cycles

Number of cycles needed to run action for approximately 100ms. Calculated during the warmup stage

Source
cycles=(cycles : Int32)

Number of cycles needed to run action for approximately 100ms. Calculated during the warmup stage

Source
cycles?

Number of cycles needed to run action for approximately 100ms. Calculated during the warmup stage

Source
human_compare
Source
human_iteration_time
Source
human_mean
Source
label

Label of the benchmark

Source
label=(label : String)

Label of the benchmark

Source
mean

Statistical mean from calculation stage

Source
mean=(mean : Float64)

Statistical mean from calculation stage

Source
mean?

Statistical mean from calculation stage

Source
ran?
Source
relative_stddev

Relative standard deviation as a percentage

Source
relative_stddev=(relative_stddev : Float64)

Relative standard deviation as a percentage

Source
relative_stddev?

Relative standard deviation as a percentage

Source
set_cycles(duration, iterations) : Nil
Source
size

Number of 100ms runs during the calculation stage

Source
size=(size : Int32)

Number of 100ms runs during the calculation stage

Source
size?

Number of 100ms runs during the calculation stage

Source
slower

Multiple slower than the fastest entry

Source
slower=(slower : Float64)

Multiple slower than the fastest entry

Source
slower?

Multiple slower than the fastest entry

Source
stddev

Statistical standard deviation from calculation stage

Source
stddev=(stddev : Float64)

Statistical standard deviation from calculation stage

Source
stddev?

Statistical standard deviation from calculation stage

Source
variance

Statistical variance from calculation stage

Source
variance=(variance : Float64)

Statistical variance from calculation stage

Source
variance?

Statistical variance from calculation stage

Source