Sha256: 4eaf4785069b6e42ef7d3ab6b70db763873b1ffd6c78fc5b0d76dd4bdf3bdb27

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 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

3 entries across 3 versions & 1 rubygems

Version Path
deg-yard-0.8.7.4 benchmarks/template_profile.rb
deg-yard-0.8.7.3 benchmarks/template_profile.rb
deg-yard-0.8.7.1 benchmarks/template_profile.rb