Skip to content

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

class method · added in Ruby 3.1

GC.total_time

GC.total_time → int

Return measured GC total time in nano seconds.

Ruby version changes

  1. 3.1