Sha256: 35e3bfa08d94c1730ce7a2c1ba06c6e77b97cc6703c6bbaa52852330ce27447d

Contents?: true

Size: 324 Bytes

Versions: 4

Compression:

Stored size: 324 Bytes

Contents

require 'rubygems'
require 'ruby-prof'
require "redwood"

result = RubyProf.profile do
  Redwood::ThreadSet.new(ARGV.map { |fn| Redwood::MBox::Scanner.new fn }).load_n_threads 100
end

printer = RubyProf::GraphHtmlPrinter.new(result)
File.open("profile.html", "w") { |f| printer.print(f, 1) }
puts "report in profile.html"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sup-0.21.0 devel/profile.rb
sup-0.20.0 devel/profile.rb
sup-0.19.0 devel/profile.rb
sup-0.18.0 devel/profile.rb