Benchmark::IPS::Job
Constructors
new(calculation calculation_time : Time::Span = 5.seconds, warmup warmup_time : Time::Span = 2.seconds, interactive : Bool = STDOUT.tty?)
Sourcenew(calculation = 5, warmup = 2, interactive = STDOUT.tty?)
DEPRECATED Use .new(Time::Span, Time::Span, Bool) instead.
Instance methods
execute
Sourceitems
List of all entries in the benchmark.
After #execute, these are populated with the resulting statistics.
List of all entries in the benchmark.
After #execute, these are populated with the resulting statistics.
Adds code to be benchmarked
report
Source