protected Method

RequestProfiler.show_profile_results(results)

There's no documentation for this item.

Source Code

# File action_controller/request_profiler.rb, line 149
def show_profile_results(results)
  File.open "#{RAILS_ROOT}/tmp/profile-graph.html", 'w' do |file|
    RubyProf::GraphHtmlPrinter.new(results).print(file)
    `#{options[:open] % file.path}` if options[:open]
  end

  File.open "#{RAILS_ROOT}/tmp/profile-flat.txt", 'w' do |file|
    RubyProf::FlatPrinter.new(results).print(file)
    `#{options[:open] % file.path}` if options[:open]
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.