Flowdock
module
Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes

The GC profiler provides access to information on GC runs including time, length and object space size.

Example:

GC::Profiler.enable

require 'rdoc/rdoc'

puts GC::Profiler.result

GC::Profiler.disable

See also GC.count, GC.malloc_allocated_size and GC.malloc_allocations

Show files where this module is defined (1 file)
Register or log in to add new notes.