Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.472 kB
require 'rubygems'
require 'ruby-prof'
#require 'benchmark'
require File.join(File.dirname(__FILE__), '..', 'lib', 'yard')
YARD::Registry.load_yardoc(File.join(File.dirname(__FILE__), '..', '.yardoc'))
obj = YARD::Registry.at("YARD::CodeObjects::Base")
#PerfTools::CpuProfiler.start("template_profile") do
#end
result = RubyProf.profile do
obj.format(:format => :html, :no_highlight => true)
end
printer = RubyProf::CallTreePrinter.new(result)
printer.print(STDOUT)
Jump to Line
Something went wrong with that request. Please try again.