Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

GC::Profiler.report

(?::GC::Profiler::_Reporter io) -> nil
GC::Profiler.report
GC::Profiler.report(io)

Writes the GC::Profiler.result to $stdout or the given IO object.

See also .raw_data .result .enabled? .total_time also in 3.3 · 3.2 · 3.1 · 3.0