Sha256: 5a4185dd6182ef757deef3d855bbb56d42fe77a2b0272b9d0c2f629960da149c
Contents?: true
Size: 418 Bytes
Versions: 4
Compression:
Stored size: 418 Bytes
Contents
#!/usr/bin/env ruby 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hedgelog-0.2.1.alpha1 | bin/profile |
hedgelog-0.2.0 | bin/profile |
hedgelog-0.1.12 | bin/profile |
hedgelog-0.1.11 | bin/profile |