Skip to content

Instantly share code, notes, and snippets.

@danielsdeleo
Created October 8, 2009 03:37
Show Gist options
  • Select an option

  • Save danielsdeleo/204701 to your computer and use it in GitHub Desktop.

Select an option

Save danielsdeleo/204701 to your computer and use it in GitHub Desktop.
require "rubygems"
require "spec/mocks"
require "chef"
require "chef/client"
Object.send(:include, Spec::Mocks::Methods)
Object.send(:include, Spec::Mocks::ExampleMethods)
@client = Chef::Client.new
to_stub = [
:build_node,
:register,
:authenticate,
:sync_library_files,
:sync_provider_files,
:sync_resource_files,
:sync_attribute_files,
:sync_definitions,
:sync_recipes,
:save_node,
:save_node
]
to_stub.each do |method|
@client.stub!(method).and_return(true)
end
time = Time.now
Time.stub!(:now).and_return(time)
Chef::Compile.stub!(:new).and_return(mock("Chef::Compile", :null_object => true))
Chef::Runner.stub!(:new).and_return(mock("Chef::Runner", :null_object => true))
require "profile"
@client.run
danielsdeleo$ ruby chefrun.rb
[Wed, 07 Oct 2009 21:08:56 -0600] INFO: Starting Chef Run
[Wed, 07 Oct 2009 21:08:56 -0600] INFO: Chef Run complete in 0.0 seconds
% cumulative self self total
time seconds seconds calls ms/call ms/call name
7.14 0.18 0.18 1377 0.13 0.14 Mash#convert_key
7.14 0.36 0.18 1192 0.15 0.61 Mash#convert_value
6.75 0.53 0.17 180 0.94 5.94 YAML.quick_emit
4.76 0.65 0.12 682 0.18 14.52 Array#each
4.37 0.76 0.11 1759 0.06 0.19 Hash#[]
3.97 0.86 0.10 1600 0.06 0.06 Kernel.class
3.17 0.94 0.08 288 0.28 0.31 Object#to_yaml_properties
3.17 1.02 0.08 591 0.14 1.02 Mash#[]=
2.38 1.08 0.06 294 0.20 0.75 Mash#default
2.38 1.14 0.06 10 6.00 87.00 IO#each
1.98 1.19 0.05 16 3.13 3.75 Scanf::FormatSpecifier#initialize
1.98 1.24 0.05 156 0.32 0.58 FileUtils::Entry_#path
1.98 1.29 0.05 139 0.36 3.31 Hash#to_mash
1.98 1.34 0.05 144 0.35 0.83 String#taguri
1.98 1.39 0.05 211 0.24 7.54 Proc#call
1.98 1.44 0.05 163 0.31 0.49 Gem::GemPathSearcher#matching_files
1.98 1.49 0.05 72 0.69 5.69 FileUtils::Entry_#postorder_traverse
1.98 1.54 0.05 222 0.23 1.76 Hash#each_pair
1.59 1.58 0.04 78 0.51 1.28 Ohai::System#method_missing
1.59 1.62 0.04 12 3.33 3.33 Array#reject
1.59 1.66 0.04 122 0.33 0.33 Fixnum#<
1.59 1.70 0.04 244 0.16 0.49 Mash#include?
1.59 1.74 0.04 180 0.22 0.28 FileUtils::Entry_#join
1.59 1.78 0.04 222 0.18 1.94 Mash#update
1.59 1.82 0.04 36 1.11 1.11 IO#open
1.59 1.86 0.04 118 0.34 8.81 Proc#[]
1.19 1.89 0.03 165 0.18 0.18 Dir#[]
1.19 1.92 0.03 739 0.04 0.04 Hash#has_key?
1.19 1.95 0.03 6 5.00 6.67 Integer#upto
1.19 1.98 0.03 12 2.50 57.50 SystemUniversal#child_setup
1.19 2.01 0.03 168 0.18 0.18 YAML::Syck::Scalar#value=
1.19 2.04 0.03 222 0.14 2.07 Mash#initialize
0.79 2.06 0.02 72 0.28 1.53 FileUtils::Entry_#platform_support
0.79 2.08 0.02 364 0.05 0.05 String#to_s
0.79 2.10 0.02 144 0.14 0.56 String#is_complex_yaml?
0.79 2.12 0.02 168 0.12 0.30 YAML::Syck::Scalar#initialize
0.79 2.14 0.02 12 1.67 1.67 Hash#taguri
0.79 2.16 0.02 1753 0.01 0.01 Kernel.is_a?
0.79 2.18 0.02 60 0.33 0.50 FileUtils.fu_check_options
0.79 2.20 0.02 120 0.17 0.50 Logger#add
0.40 2.21 0.01 19 0.53 1.05 Spec::Mocks::Proxy#message_received
0.40 2.22 0.01 12 0.83 5.83 FileUtils::Entry_#entries
0.40 2.23 0.01 76 0.13 0.13 Hash#initialize_copy
0.40 2.24 0.01 1126 0.01 0.01 Hash#regular_writer
0.40 2.25 0.01 108 0.09 1.20 Kernel.catch
0.40 2.26 0.01 12 0.83 82.50 Kernel.loop
0.40 2.27 0.01 165 0.06 0.06 Array#flatten
0.40 2.28 0.01 185 0.05 0.05 Array#[]
0.40 2.29 0.01 1397 0.01 0.01 Kernel.kind_of?
0.40 2.30 0.01 1 10.00 40.00 #<Ohai::System:0x10227c448>.has_ec2_mac?
0.40 2.31 0.01 136 0.07 0.59 Kernel.send
0.40 2.32 0.01 144 0.07 0.14 FileUtils::Entry_#directory?
0.40 2.33 0.01 632 0.02 0.02 String#==
0.40 2.34 0.01 144 0.07 0.07 Fixnum#fdiv
0.40 2.35 0.01 251 0.04 0.04 Hash#key?
0.40 2.36 0.01 180 0.06 5.00 YAML::Syck::Emitter#emit
0.40 2.37 0.01 120 0.08 0.08 Mixlib::Log.logger
0.40 2.38 0.01 24 0.42 0.42 Dir#tmpdir
0.40 2.39 0.01 12 0.83 47.50 YAML::Syck::Out#map
0.40 2.40 0.01 36 0.28 1.94 FileUtils.touch
0.40 2.41 0.01 93 0.11 0.11 Fixnum#>
0.40 2.42 0.01 118 0.08 0.51 Logger#debug
0.40 2.43 0.01 288 0.03 0.03 Array#sort
0.40 2.44 0.01 144 0.07 0.07 String#index
0.40 2.45 0.01 1372 0.01 0.01 Module#==
0.40 2.46 0.01 64 0.16 1.25 Array#map
0.40 2.47 0.01 7 1.43 1.43 Kernel.gem_original_require
0.40 2.48 0.01 12 0.83 0.83 IO#popen
0.40 2.49 0.01 77 0.13 1.17 Enumerable.find
0.40 2.50 0.01 12 0.83 21.67 FileUtils.rm_r
0.40 2.51 0.01 216 0.05 0.05 String#intern
0.40 2.52 0.01 72 0.14 0.14 FileUtils::StreamUtils_.fu_windows?
0.00 2.52 0.00 1 0.00 0.00 Mixlib::Config.[]=
0.00 2.52 0.00 12 0.00 0.00 Kernel.lambda
0.00 2.52 0.00 195 0.00 0.00 Fixnum#==
0.00 2.52 0.00 28 0.00 0.00 File#exists?
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.sync_attribute_files
0.00 2.52 0.00 4 0.00 0.00 Array#*
0.00 2.52 0.00 12 0.00 95.83 Object#systemu
0.00 2.52 0.00 12 0.00 1.67 FileUtils::Entry_#remove_dir1
0.00 2.52 0.00 144 0.00 0.00 String#hash
0.00 2.52 0.00 12 0.00 0.00 YAML.emitter
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::Proxy#find_matching_method_stub
0.00 2.52 0.00 160 0.00 0.00 String#empty?
0.00 2.52 0.00 2 0.00 0.00 MonitorMixin.mon_exit
0.00 2.52 0.00 72 0.00 0.00 File#lstat
0.00 2.52 0.00 60 0.00 0.00 Kernel.untaint
0.00 2.52 0.00 2 0.00 0.00 Ohai::System#[]
0.00 2.52 0.00 53 0.00 0.00 Array#collect
0.00 2.52 0.00 84 0.00 6.67 YAML::Syck::Map#add
0.00 2.52 0.00 2 0.00 0.00 Time#wday
0.00 2.52 0.00 12 0.00 0.00 Kernel.Integer
0.00 2.52 0.00 2 0.00 0.00 Module#attr_accessor
0.00 2.52 0.00 34 0.00 0.00 Array#include?
0.00 2.52 0.00 2 0.00 0.00 Spec::Mocks::OrderGroup#initialize
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Out#initialize
0.00 2.52 0.00 144 0.00 0.00 String#count
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Emitter#reset
0.00 2.52 0.00 3 0.00 0.00 Fixnum#*
0.00 2.52 0.00 12 0.00 13.33 SystemUniversal#initialize
0.00 2.52 0.00 2 0.00 0.00 Time#sec
0.00 2.52 0.00 387 0.00 0.00 File#join
0.00 2.52 0.00 1 0.00 10.00 Chef::Runner#new
0.00 2.52 0.00 5 0.00 0.00 Time#now
0.00 2.52 0.00 175 0.00 0.00 Kernel.object_id
0.00 2.52 0.00 2 0.00 0.00 Ohai::System#attribute?
0.00 2.52 0.00 2 0.00 0.00 Fixnum#divmod
0.00 2.52 0.00 1 0.00 0.00 Symbol#id2name
0.00 2.52 0.00 30 0.00 0.00 IO#closed?
0.00 2.52 0.00 10 0.00 0.00 Marshal.load
0.00 2.52 0.00 12 0.00 0.00 SystemUniversal#child_program
0.00 2.52 0.00 19 0.00 0.53 Spec::Mocks::Proxy#find_matching_expectation
0.00 2.52 0.00 10 0.00 0.00 IO#getc
0.00 2.52 0.00 12 0.00 0.00 Dir#each
0.00 2.52 0.00 28 0.00 172.14 Ohai::Mixin::FromFile.from_file
0.00 2.52 0.00 2 0.00 0.00 Time#utc?
0.00 2.52 0.00 12 0.00 0.00 SystemUniversal#getopts
0.00 2.52 0.00 8 0.00 0.00 Thread#critical=
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.register
0.00 2.52 0.00 2 0.00 0.00 Fixnum#>=
0.00 2.52 0.00 1 0.00 0.00 Time#to_i
0.00 2.52 0.00 200 0.00 0.00 Regexp#===
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::ArgumentExpectation#args_match?
0.00 2.52 0.00 30 0.00 0.00 Mixlib::Config.[]
0.00 2.52 0.00 1 0.00 2490.00 Chef::Client#determine_node_name
0.00 2.52 0.00 4 0.00 15.00 Scanf::FormatString#initialize
0.00 2.52 0.00 34 0.00 0.00 String#to_i
0.00 2.52 0.00 2 0.00 0.00 Thread#pass
0.00 2.52 0.00 1 0.00 40.00 #<Ohai::System:0x10227c448>.looks_like_ec2?
0.00 2.52 0.00 12 0.00 0.00 YAML.resolver
0.00 2.52 0.00 2 0.00 0.00 MonitorMixin.mon_enter
0.00 2.52 0.00 1 0.00 0.00 Exception#message
0.00 2.52 0.00 10 0.00 0.00 Process.waitpid2
0.00 2.52 0.00 12 0.00 0.00 IO#gets
0.00 2.52 0.00 50 0.00 0.00 Exception#initialize
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.sync_library_files
0.00 2.52 0.00 8 0.00 1.25 #<Ohai::System:0x10227c448>.locate_interface
0.00 2.52 0.00 24 0.00 24.58 Kernel.open
0.00 2.52 0.00 12 0.00 103.33 Ohai::Mixin::Command.run_command
0.00 2.52 0.00 168 0.00 0.00 YAML::Syck::Scalar#style=
0.00 2.52 0.00 72 0.00 1.67 FileUtils::Entry_#remove
0.00 2.52 0.00 26 0.00 0.00 IO#write
0.00 2.52 0.00 12 0.00 0.00 Kernel.rand
0.00 2.52 0.00 208 0.00 0.00 Kernel.respond_to?
0.00 2.52 0.00 7 0.00 0.00 Kernel.sprintf
0.00 2.52 0.00 37 0.00 130.27 Ohai::System#require_plugin
0.00 2.52 0.00 144 0.00 0.07 FileUtils::Entry_#lstat
0.00 2.52 0.00 1 0.00 0.00 Regexp#escape
0.00 2.52 0.00 7 0.00 0.00 Regexp#to_s
0.00 2.52 0.00 5 0.00 0.00 Module#attr_reader
0.00 2.52 0.00 934 0.00 0.00 Symbol#to_s
0.00 2.52 0.00 19 0.00 0.00 Proc#arity
0.00 2.52 0.00 12 0.00 82.50 SystemUniversal#tmpdir
0.00 2.52 0.00 1 0.00 0.00 Mutex#synchronize
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.sync_recipes
0.00 2.52 0.00 538 0.00 0.00 Hash#default
0.00 2.52 0.00 2 0.00 0.00 Time#min
0.00 2.52 0.00 1 0.00 0.00 Chef::Compile#new
0.00 2.52 0.00 2 0.00 0.00 Module#include
0.00 2.52 0.00 2 0.00 0.00 Mixlib::Log::Formatter#call
0.00 2.52 0.00 1 0.00 0.00 #<Ohai::System:0x10227c448>.find_ip_and_mac
0.00 2.52 0.00 36 0.00 0.00 SystemCallError#===
0.00 2.52 0.00 4 0.00 0.00 String#gsub!
0.00 2.52 0.00 12 0.00 0.00 String#sub
0.00 2.52 0.00 237 0.00 0.00 Hash#initialize
0.00 2.52 0.00 168 0.00 0.30 YAML::Syck::Out#scalar
0.00 2.52 0.00 209 0.00 0.00 Fixnum#to_s
0.00 2.52 0.00 144 0.00 3.26 String#to_yaml
0.00 2.52 0.00 144 0.00 0.00 FileUtils::Entry_#dereference?
0.00 2.52 0.00 4 0.00 0.00 Array#replace
0.00 2.52 0.00 24 0.00 3.75 NilClass#to_yaml
0.00 2.52 0.00 180 0.00 0.00 YAML.tagged_classes
0.00 2.52 0.00 2 0.00 0.00 Time#hour
0.00 2.52 0.00 60 0.00 0.00 FileUtils::Entry_#prefix
0.00 2.52 0.00 2 0.00 0.00 Hash#merge
0.00 2.52 0.00 144 0.00 0.14 String#is_binary_data?
0.00 2.52 0.00 152 0.00 0.00 IO#close
0.00 2.52 0.00 108 0.00 0.00 Kernel.hash
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Emitter#initialize
0.00 2.52 0.00 12 0.00 0.00 NilClass#to_s
0.00 2.52 0.00 91 0.00 0.00 NilClass#nil?
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Emitter#set_resolver
0.00 2.52 0.00 144 0.00 0.00 String#to_str
0.00 2.52 0.00 139 0.00 0.00 Hash#default=
0.00 2.52 0.00 3 0.00 0.00 Integer#to_i
0.00 2.52 0.00 7 0.00 0.00 Mash#has_key?
0.00 2.52 0.00 404 0.00 0.00 Module#===
0.00 2.52 0.00 2 0.00 0.00 Time#utc_offset
0.00 2.52 0.00 144 0.00 0.00 Float#>
0.00 2.52 0.00 16 0.00 0.00 Scanf::FormatSpecifier#skip
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::BaseExpectation#invoke
0.00 2.52 0.00 19 0.00 0.00 Array#size
0.00 2.52 0.00 3 0.00 0.00 Spec::Mocks::Proxy#null_object?
0.00 2.52 0.00 80 0.00 0.00 IO#initialize
0.00 2.52 0.00 217 0.00 0.00 Hash#[]=
0.00 2.52 0.00 94 0.00 0.00 Kernel.==
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::ArgumentExpectation#match_any_args?
0.00 2.52 0.00 12 0.00 49.17 Hash#to_yaml
0.00 2.52 0.00 2 0.00 0.00 Module#included
0.00 2.52 0.00 2 0.00 0.00 MonitorMixin.mon_check_owner
0.00 2.52 0.00 2 0.00 0.00 Logger#format_message
0.00 2.52 0.00 228 0.00 0.00 Hash#delete
0.00 2.52 0.00 90 0.00 0.11 Kernel.dup
0.00 2.52 0.00 3 0.00 0.00 Spec::Mocks::Mock#method_missing
0.00 2.52 0.00 3 0.00 0.00 #<Chef::Client:0x1022c7a38>.save_node
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::OrderGroup#handle_order_constraint
0.00 2.52 0.00 48 0.00 0.00 FileUtils.fu_list
0.00 2.52 0.00 12 0.00 49.17 YAML.dump
0.00 2.52 0.00 2 0.00 0.00 Exception#inspect
0.00 2.52 0.00 9 0.00 102.22 Ohai::System#from
0.00 2.52 0.00 12 0.00 82.50 SystemUniversal#systemu
0.00 2.52 0.00 261 0.00 0.00 Kernel.nil?
0.00 2.52 0.00 120 0.00 0.00 Mixlib::Log.init
0.00 2.52 0.00 16 0.00 0.00 Scanf::FormatSpecifier#extract_hex
0.00 2.52 0.00 12 0.00 23.33 FileUtils.rm_rf
0.00 2.52 0.00 2 0.00 0.00 Fixnum#abs
0.00 2.52 0.00 1 0.00 0.00 Time#-
0.00 2.52 0.00 1 0.00 0.00 Gem.searcher
0.00 2.52 0.00 163 0.00 0.00 Array#select
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Map#value=
0.00 2.52 0.00 300 0.00 0.00 Object#to_yaml_style
0.00 2.52 0.00 2 0.00 0.00 MonitorMixin.mon_release
0.00 2.52 0.00 37 0.00 0.00 SystemCallError#initialize
0.00 2.52 0.00 10 0.00 0.00 IO#sync=
0.00 2.52 0.00 14 0.00 26.43 Kernel.open_uri_original_open
0.00 2.52 0.00 12 0.00 0.00 Hash#hash
0.00 2.52 0.00 21 0.00 0.48 Ohai::System#set_attribute
0.00 2.52 0.00 144 0.00 0.00 String#yaml_tag_subclasses?
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.sync_definitions
0.00 2.52 0.00 2 0.00 0.00 #<Ohai::System:0x10227c448>.scope_lookup
0.00 2.52 0.00 1 0.00 0.00 Time#initialize
0.00 2.52 0.00 12 0.00 0.00 Enumerable.to_a
0.00 2.52 0.00 60 0.00 0.00 FileUtils::Entry_#rel
0.00 2.52 0.00 144 0.00 0.00 String#size
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Map#initialize
0.00 2.52 0.00 1 0.00 0.00 Mixlib::Config.internal_set
0.00 2.52 0.00 2 0.00 0.00 Time#mon
0.00 2.52 0.00 2 0.00 0.00 String#chop
0.00 2.52 0.00 6 0.00 0.00 Kernel.=~
0.00 2.52 0.00 10 0.00 0.00 Kernel.fork
0.00 2.52 0.00 12 0.00 0.00 Dir#rmdir
0.00 2.52 0.00 2 0.00 0.00 Logger::LogDevice#write
0.00 2.52 0.00 9 0.00 0.00 String#chomp!
0.00 2.52 0.00 50 0.00 0.00 Exception#set_backtrace
0.00 2.52 0.00 10 0.00 88.00 Ohai::Mixin::Command.popen4
0.00 2.52 0.00 4 0.00 15.00 String#scanf
0.00 2.52 0.00 180 0.00 0.00 YAML::Syck::Node#type_id=
0.00 2.52 0.00 24 0.00 0.00 NilClass#yaml_tag_subclasses?
0.00 2.52 0.00 56 0.00 0.00 String#gsub
0.00 2.52 0.00 3 0.00 0.00 Spec::Mocks::Proxy#record_message_received
0.00 2.52 0.00 53 0.00 0.00 Exception#backtrace
0.00 2.52 0.00 16 0.00 0.00 MatchData#post_match
0.00 2.52 0.00 10 0.00 0.00 IO#binmode
0.00 2.52 0.00 96 0.00 0.00 ENV.[]
0.00 2.52 0.00 2 0.00 0.00 Kernel.block_given?
0.00 2.52 0.00 36 0.00 0.00 Hash#keys
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.sync_provider_files
0.00 2.52 0.00 144 0.00 0.07 FileUtils::Entry_#lstat!
0.00 2.52 0.00 30 0.00 0.00 Fixnum#-
0.00 2.52 0.00 4 0.00 0.00 Thread#current
0.00 2.52 0.00 1 0.00 0.00 Time#to_f
0.00 2.52 0.00 240 0.00 0.00 #<Ohai::System:0x10227c448>.excluded_setting?
0.00 2.52 0.00 16 0.00 0.00 Scanf::FormatSpecifier#match
0.00 2.52 0.00 1 0.00 0.00 Module#public
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::BaseExpectation#invoke_return_block
0.00 2.52 0.00 3 0.00 0.00 Array#initialize
0.00 2.52 0.00 61 0.00 0.00 Module#method_added
0.00 2.52 0.00 102 0.00 0.00 String#hex
0.00 2.52 0.00 3 0.00 0.00 Exception#exception
0.00 2.52 0.00 12 0.00 20.83 FileUtils.remove_entry
0.00 2.52 0.00 12 0.00 102.50 Dir#chdir
0.00 2.52 0.00 36 0.00 0.00 Process::Status#exitstatus
0.00 2.52 0.00 26 0.00 6.54 Ohai::System#provides
0.00 2.52 0.00 66 0.00 0.00 String#+
0.00 2.52 0.00 8 0.00 0.00 #<Ohai::System:0x10227c448>.encaps_lookup
0.00 2.52 0.00 70 0.00 0.00 Array#last
0.00 2.52 0.00 1 0.00 0.00 Kernel.`
0.00 2.52 0.00 2 0.00 5.00 Logger#info
0.00 2.52 0.00 64 0.00 0.00 IO#read
0.00 2.52 0.00 2 0.00 0.00 MonitorMixin.mon_acquire
0.00 2.52 0.00 168 0.00 3.33 YAML::Syck::Emitter#node_export
0.00 2.52 0.00 1 0.00 0.00 String#%
0.00 2.52 0.00 6 0.00 6.67 #<Ohai::System:0x10227c448>.parse_media
0.00 2.52 0.00 4 0.00 0.00 Enumerable.each_with_index
0.00 2.52 0.00 3 0.00 0.00 Kernel.raise
0.00 2.52 0.00 24 0.00 1.25 NilClass#taguri
0.00 2.52 0.00 2 0.00 0.00 Mixlib::Log::Formatter#msg2str
0.00 2.52 0.00 1 0.00 2490.00 Ohai::System#all_plugins
0.00 2.52 0.00 1 0.00 0.00 Kernel.public_methods
0.00 2.52 0.00 30 0.00 0.00 Symbol#to_sym
0.00 2.52 0.00 2 0.00 0.00 MonitorMixin.synchronize
0.00 2.52 0.00 12 0.00 0.00 YAML::Syck::Map#style=
0.00 2.52 0.00 25 0.00 0.00 Spec::Mocks::Methods.__mock_proxy
0.00 2.52 0.00 451 0.00 0.00 Array#empty?
0.00 2.52 0.00 112 0.00 0.00 File#expand_path
0.00 2.52 0.00 2 0.00 0.00 Spec::Mocks::ErrorGenerator#initialize
0.00 2.52 0.00 12 0.00 0.83 SystemUniversal#quietly
0.00 2.52 0.00 91 0.00 0.00 Fixnum#+
0.00 2.52 0.00 16 0.00 0.00 String#sub!
0.00 2.52 0.00 4 0.00 0.00 Module#private
0.00 2.52 0.00 60 0.00 0.00 File#unlink
0.00 2.52 0.00 4 0.00 0.00 Process::Status#==
0.00 2.52 0.00 288 0.00 0.00 Kernel.instance_variables
0.00 2.52 0.00 163 0.00 0.49 Gem::GemPathSearcher#matching_file?
0.00 2.52 0.00 35 0.00 0.00 Fixnum#/
0.00 2.52 0.00 73 0.00 0.00 Spec::Mocks::BaseExpectation#matches
0.00 2.52 0.00 2 0.00 0.00 Time#rfc2822
0.00 2.52 0.00 2 0.00 0.00 Time#year
0.00 2.52 0.00 246 0.00 0.00 String#match
0.00 2.52 0.00 7 0.00 12.86 Kernel.require
0.00 2.52 0.00 1 0.00 2520.00 Chef::Client#run
0.00 2.52 0.00 2 0.00 0.00 Time#day
0.00 2.52 0.00 60 0.00 0.00 Hash#empty?
0.00 2.52 0.00 616 0.00 1.28 Class#new
0.00 2.52 0.00 35 0.00 0.00 String#length
0.00 2.52 0.00 1 0.00 0.00 Array#-
0.00 2.52 0.00 1 0.00 10.00 #<Chef::Client:0x1022c7a38>.sync_resource_files
0.00 2.52 0.00 1 0.00 0.00 #<Ohai::System:0x10227c448>._seconds_to_human
0.00 2.52 0.00 16 0.00 0.00 Scanf::FormatSpecifier#count_space?
0.00 2.52 0.00 94 0.00 0.00 String#eql?
0.00 2.52 0.00 10 0.00 0.00 IO#fcntl
0.00 2.52 0.00 336 0.00 0.00 Regexp#match
0.00 2.52 0.00 16 0.00 0.00 String#initialize_copy
0.00 2.52 0.00 12 0.00 0.00 String#[]
0.00 2.52 0.00 20 0.00 0.00 Kernel.singleton_method_added
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.build_node
0.00 2.52 0.00 1 0.00 0.00 String#downcase!
0.00 2.52 0.00 4 0.00 0.00 Array#compact
0.00 2.52 0.00 144 0.00 0.00 File::Stat#directory?
0.00 2.52 0.00 1 0.00 10.00 Chef::Client#converge
0.00 2.52 0.00 1 0.00 80.00 Gem::GemPathSearcher#find
0.00 2.52 0.00 2 0.00 0.00 Module#append_features
0.00 2.52 0.00 32 0.00 0.00 String#strip
0.00 2.52 0.00 12 0.00 0.00 Dir#open
0.00 2.52 0.00 120 0.00 0.75 Mixlib::Log.method_missing
0.00 2.52 0.00 36 0.00 0.00 Process::Status#to_int
0.00 2.52 0.00 6 0.00 0.00 Array#shift
0.00 2.52 0.00 12 0.00 0.00 Hash#yaml_tag_subclasses?
0.00 2.52 0.00 16 0.00 0.00 Scanf::FormatSpecifier#to_re
0.00 2.52 0.00 62 0.00 0.00 Array#<<
0.00 2.52 0.00 12 0.00 0.00 Dir#mkdir
0.00 2.52 0.00 1 0.00 0.00 #<Chef::Client:0x1022c7a38>.authenticate
0.00 2.52 0.00 4 0.00 0.00 String#*
0.00 2.52 0.00 1 0.00 0.00 Hash#values
0.00 2.52 0.00 60 0.00 0.00 File#initialize
0.00 2.52 0.00 27 0.00 0.00 File#readable?
0.00 2.52 0.00 36 0.00 0.00 File#utime
0.00 2.52 0.00 13 0.00 0.00 Float#to_s
0.00 2.52 0.00 40 0.00 0.00 IO#pipe
0.00 2.52 0.00 43 0.00 0.00 MatchData#[]
0.00 2.52 0.00 50 0.00 0.00 Regexp#initialize
0.00 2.52 0.00 72 0.00 0.00 FileUtils::Entry_#initialize
0.00 2.52 0.00 1 0.00 2490.00 Chef::Client#run_ohai
0.00 2.52 0.00 12 0.00 0.00 Dir#entries
0.00 2.52 0.00 27 0.00 178.52 Kernel.instance_eval
0.00 2.52 0.00 163 0.00 0.00 Gem.suffix_pattern
0.00 2.52 0.00 57 0.00 0.88 Ohai::System#get_attribute
0.00 2.52 0.00 4 0.00 0.00 Exception#to_s
0.00 2.52 0.00 19 0.00 0.00 Spec::Mocks::Proxy#find_almost_matching_expectation
0.00 2.52 0.00 70 0.00 0.00 String#split
0.00 2.52 0.00 36 0.00 0.00 File#directory?
0.00 2.52 0.00 2 0.00 0.00 Spec::Mocks::Proxy#initialize
0.00 2.52 0.00 4 0.00 0.00 Scanf::FormatString#match
0.00 2.52 0.00 50 0.00 0.00 Array#first
0.00 2.52 0.00 4 0.00 0.00 Class#inherited
0.00 2.52 0.00 1 0.00 0.00 Module#module_function
0.00 2.52 0.00 60 0.00 1.50 FileUtils::Entry_#remove_file
0.00 2.52 0.00 121 0.00 0.00 Array#length
0.00 2.52 0.00 12 0.00 46.67 Hash#each
0.00 2.52 0.00 4 0.00 0.00 String#scan
0.00 2.52 0.00 2 0.00 0.00 Logger#format_severity
0.00 2.52 0.00 24 0.00 0.00 File#writable?
0.00 2.52 0.00 1 0.00 2520.00 #toplevel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment