Sha256: 73551908066099301e9cda16ca235c2ef04ed791f40a1f1e2cdbf76b69b85c1f
Contents?: true
Size: 505 Bytes
Versions: 43
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true 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
43 entries across 42 versions & 7 rubygems