Sha256: 57007c80da211aa307c5ca8cf517a60e0a73b7f0d1b0b16bef796c1a8f04718a
Contents?: true
Size: 713 Bytes
Versions: 5
Compression:
Stored size: 713 Bytes
Contents
require "memory_profiler/version" require "memory_profiler/helpers" require "memory_profiler/polychrome" require "memory_profiler/monochrome" require "memory_profiler/top_n" require "memory_profiler/stat" require "memory_profiler/stat_hash" require "memory_profiler/results" require "memory_profiler/reporter" module MemoryProfiler def self.report(opts={},&block) Reporter.report(opts,&block) end def self.start(opts={}) unless Reporter.current_reporter Reporter.current_reporter = Reporter.new(opts) Reporter.current_reporter.start end end def self.stop Reporter.current_reporter.stop if Reporter.current_reporter ensure Reporter.current_reporter = nil end end
Version data entries
5 entries across 5 versions & 1 rubygems