class Benchmark::Report
Public Instance Methods
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/benchmark/0/benchmark.rbs, line 283
def item: (?String label, *untyped format) { () -> void } -> Tms
Prints the label and measured time for the block, formatted by format. See Tms#format for the formatting rules.
Also aliased as: report
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/benchmark/0/benchmark.rbs, line 286
def list: () -> Array[Tms]
An array of Benchmark::Tms objects representing each item.