Sha256: 3ceecb5d7ab899a7c95ebc25fb3741cd4c4e4a3f7ea3c29e547deacf8837c0d2

Contents?: true

Size: 472 Bytes

Versions: 126

Compression:

Stored size: 472 Bytes

Contents

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)

Version data entries

126 entries across 106 versions & 10 rubygems

Version Path
yard-0.7.4 benchmarks/template_profile.rb
yard-0.7.3 benchmarks/template_profile.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/yard-0.7.2/benchmarks/template_profile.rb
yard-0.7.2 benchmarks/template_profile.rb
yard-0.7.1 benchmarks/template_profile.rb
yard-0.7.0 benchmarks/template_profile.rb
yard-0.6.8 benchmarks/template_profile.rb
yard-0.6.7 benchmarks/template_profile.rb
yard-0.6.6 benchmarks/template_profile.rb
yard-0.6.5 benchmarks/template_profile.rb
yard-0.6.4 benchmarks/template_profile.rb
yard-0.6.3 benchmarks/template_profile.rb
yard-0.6.2 benchmarks/template_profile.rb
yard-0.6.1 benchmarks/template_profile.rb
yard-0.6.0 benchmarks/template_profile.rb
yard-0.5.8 benchmarks/template_profile.rb
yard-0.5.7 benchmarks/template_profile.rb
yard-0.5.6 benchmarks/template_profile.rb
yard-0.5.5 benchmarks/template_profile.rb
yard-0.5.4 benchmarks/template_profile.rb