Sha256: 294ab89c1f3e2f96869fadf2933e7adff69c5d254795cd3efe004b22d4946c5c
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
require 'bundler/setup' require 'hedgelog' require 'ruby-prof' require 'logger' logger = Hedgelog.new('/dev/null') logger.level = Logger::INFO RubyProf.start 10_000.times do logger.info 'Foo' end result = RubyProf.stop result.eliminate_methods!([/Integer#times/]) # printer = RubyProf::GraphPrinter.new(result) printer = RubyProf::FlatPrinterWithLineNumbers.new(result) printer.print(STDOUT)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hedgelog-0.1.13.alpha.1 | bin/profile |