End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Benchmark::Tms#add!
add!(&blk)
lib/benchmark.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/benchmark.rb, line 446
def add!(&blk)
t = Benchmark.measure(&blk)
@utime = utime + t.utime
@stime = stime + t.stime
@cutime = cutime + t.cutime
@cstime = cstime + t.cstime
@real = real + t.real
self
end