Class: HeapProfiler::Parser::Native

Inherits:
Object
  • Object
show all
Defined in:
lib/heap_profiler/parser.rb

Instance Method Summary collapse

Instance Method Details

#build_index(path, batch_size: Parser.batch_size) ⇒ Object



50
51
52
53
54
# File 'lib/heap_profiler/parser.rb', line 50

def build_index(path, batch_size: Parser.batch_size)
  indexes = _build_index(path, batch_size)
  indexes.first.default_proc = CLASS_DEFAULT_PROC
  indexes
end

#load_many(path, since: nil, batch_size: Parser.batch_size, &block) ⇒ Object



56
57
58
# File 'lib/heap_profiler/parser.rb', line 56

def load_many(path, since: nil, batch_size: Parser.batch_size, &block)
  _load_many(path, since, batch_size, &block)
end