Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Benchmark::Tms#to_a

to_a

Returns a new 6-element array, consisting of the label, user CPU time, system CPU time, children’s user CPU time, children’s system CPU time and elapsed real time.

See also #memberwise #to_h #format #to_s also in 3.4 · 3.2 · 3.1 · 3.0