dsaenztagarro / gundam

A Command Line Robot for Terminal Lovers
0 stars 0 forks source link

Remove octokit dependency #133

Open dsaenztagarro opened 7 years ago

dsaenztagarro commented 7 years ago

Context

A simple program like:

# example.rb
require 'octokit'

puts 'hello world'

When executed with ruby -rprofile example.rb brings the following results:

See stdout ``` $ ruby -rprofile example.rb hello world % cumulative self self total time seconds seconds calls ms/call ms/call name 20.89 0.33 0.33 391 0.84 50.38 Kernel#require 12.03 0.52 0.19 4 47.50 82.50 Hash#each 6.96 0.63 0.11 1476 0.07 0.09 Gem::Version#<=> 6.33 0.73 0.10 6248 0.02 0.25 nil# 4.43 0.80 0.07 1781 0.04 1.44 Array#each 3.16 0.85 0.05 2519 0.02 0.08 Gem::BasicSpecification#have_file? 3.16 0.90 0.05 1926 0.03 0.11 Array#any? 2.53 0.94 0.04 3091 0.01 0.01 Module#method_added 2.53 0.98 0.04 2221 0.02 0.16 Gem::Requirement#satisfied_by? 1.90 1.01 0.03 11246 0.00 0.00 Module#=== 1.90 1.04 0.03 802 0.04 0.55 Gem::Dependency#matching_specs 1.90 1.07 0.03 4898 0.01 0.03 Gem::StubSpecification#data 1.27 1.09 0.02 5545 0.00 0.00 Integer#== 1.27 1.11 0.02 3031 0.01 0.01 Gem::Version#_segments 1.27 1.13 0.02 918 0.02 0.02 Array#hash 1.27 1.15 0.02 201 0.10 0.10 MonitorMixin#mon_enter 1.27 1.17 0.02 2346 0.01 0.02 Gem::StubSpecification#activated? 1.27 1.19 0.02 63 0.32 0.63 Gem::StubSpecification::StubLine#initialize 1.27 1.21 0.02 1531 0.01 0.01 File.file? 1.27 1.23 0.02 968 0.02 0.61 Gem::Specification#traverse 0.63 1.24 0.01 248 0.04 0.24 Gem::Specification#initialize 0.63 1.25 0.01 488 0.02 0.02 Gem::BasicSpecification#have_extensions? 0.63 1.26 0.01 654 0.02 0.02 Gem::StubSpecification#version 0.63 1.27 0.01 498 0.02 0.28 Gem::BasicSpecification#contains_requirable_file? 0.63 1.28 0.01 160 0.06 0.06 Gem::Specification#hash 0.63 1.29 0.01 201 0.05 0.05 MonitorMixin#mon_exit 0.63 1.30 0.01 1 10.00 10.00 Marshal.load 0.63 1.31 0.01 4233 0.00 0.00 Array#length 0.63 1.32 0.01 8 1.25 1.25 Struct.new 0.63 1.33 0.01 83 0.12 0.12 Module#include 0.63 1.34 0.01 121 0.08 0.08 String#=~ 0.63 1.35 0.01 118 0.08 0.17 Gem::Version.correct? 0.63 1.36 0.01 1 10.00 10.00 OpenSSL::X509::Store#set_default_paths 0.63 1.37 0.01 28 0.36 0.36 Forwardable._valid_method? 0.63 1.38 0.01 2303 0.00 0.01 Hash#[]= 0.63 1.39 0.01 883 0.01 0.20 Enumerable#all? 0.63 1.40 0.01 1 10.00 250.00 Faraday::RackBuilder#use_symbol 0.63 1.41 0.01 1 10.00 30.00 Array#sort! 0.63 1.42 0.01 306 0.03 0.03 IO#set_encoding 0.63 1.43 0.01 563 0.02 0.02 Gem::StubSpecification#extensions 0.63 1.44 0.01 292 0.03 0.03 Gem::StubSpecification#raw_require_paths 0.63 1.45 0.01 22 0.45 0.91 Gem::Requirement#as_list 0.63 1.46 0.01 8 1.25 1.25 Gem::Specification#date= 0.63 1.47 0.01 1280 0.01 0.01 Integer#chr 0.63 1.48 0.01 1280 0.01 0.01 String#% 0.63 1.49 0.01 284 0.04 2.64 Gem::Specification.find_in_unresolved_tree 0.63 1.50 0.01 12701 0.00 0.00 Array#[] 0.63 1.51 0.01 595 0.02 0.02 Gem::Specification#dependencies 0.63 1.52 0.01 592 0.02 0.03 Gem::Platform.match 0.63 1.53 0.01 2902 0.00 0.01 Gem::StubSpecification#name 0.63 1.54 0.01 335 0.03 1.10 Class#new 0.63 1.55 0.01 333 0.03 0.15 Gem::Specification._resort! 0.63 1.56 0.01 247 0.04 0.04 Kernel#dup 0.63 1.57 0.01 2401 0.00 0.11 Gem::Specification.find_active_stub_by_path 0.63 1.58 0.01 380 0.03 0.05 Octokit::Default.options 0.00 1.58 0.00 72 0.00 0.00 String#gsub 0.00 1.58 0.00 56 0.00 0.18 Gem::Version#initialize 0.00 1.58 0.00 40 0.00 0.25 Array#map! 0.00 1.58 0.00 1 0.00 50.00 Enumerable#flat_map 0.00 1.58 0.00 1 0.00 0.00 Array#concat 0.00 1.58 0.00 363 0.00 0.00 Gem::StubSpecification#full_name 0.00 1.58 0.00 110 0.00 0.82 Gem::Specification.stubs 0.00 1.58 0.00 4 0.00 0.00 Array#uniq 0.00 1.58 0.00 1 0.00 0.00 Gem::Specification.uniq_by 0.00 1.58 0.00 332 0.00 0.00 String#<=> 0.00 1.58 0.00 332 0.00 0.00 Numeric#zero? 0.00 1.58 0.00 332 0.00 0.00 Numeric#nonzero? 0.00 1.58 0.00 1476 0.00 0.00 Gem::Version#_version 0.00 1.58 0.00 30 0.00 0.00 String#scan 0.00 1.58 0.00 103 0.00 0.00 String#to_i 0.00 1.58 0.00 67 0.00 0.00 Kernel#freeze 0.00 1.58 0.00 1460 0.00 0.00 Integer#<=> 0.00 1.58 0.00 1 0.00 0.00 Enumerable#group_by 0.00 1.58 0.00 292 0.00 0.00 Gem::StubSpecification#default_gem? 0.00 1.58 0.00 292 0.00 0.03 Gem::StubSpecification#missing_extensions? 0.00 1.58 0.00 91 0.00 1.98 Gem::Specification.find_by_path 0.00 1.58 0.00 9 0.00 0.00 Gem.default_ext_dir_for 0.00 1.58 0.00 9 0.00 0.00 Gem::Platform.local 0.00 1.58 0.00 9 0.00 0.00 Gem::Platform#to_a 0.00 1.58 0.00 11 0.00 0.00 Array#compact 0.00 1.58 0.00 26 0.00 0.00 Array#join 0.00 1.58 0.00 9 0.00 0.00 Gem::Platform#to_s 0.00 1.58 0.00 9 0.00 0.00 Gem.ruby_api_version 0.00 1.58 0.00 9 0.00 0.00 Gem.extension_api_version 0.00 1.58 0.00 9 0.00 0.00 Gem::BasicSpecification#extensions_dir 0.00 1.58 0.00 37 0.00 0.00 File.expand_path 0.00 1.58 0.00 22 0.00 0.00 Gem::BasicSpecification#extension_dir 0.00 1.58 0.00 7 0.00 0.00 Gem::BasicSpecification#gem_build_complete_path 0.00 1.58 0.00 7 0.00 0.00 File.exist? 0.00 1.58 0.00 58 0.00 3.10 Enumerable#find 0.00 1.58 0.00 93 0.00 0.00 Hash#values 0.00 1.58 0.00 324 0.00 0.12 Gem::StubSpecification#to_spec 0.00 1.58 0.00 8 0.00 0.00 IO.read 0.00 1.58 0.00 8 0.00 0.00 Kernel#binding 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#internal_init 0.00 1.58 0.00 465 0.00 0.00 Symbol#to_s 0.00 1.58 0.00 259 0.00 0.00 Kernel#instance_variable_set 0.00 1.58 0.00 160 0.00 0.00 Gem::Specification#default_value 0.00 1.58 0.00 99 0.00 0.00 Array#initialize_copy 0.00 1.58 0.00 8 0.00 0.00 Hash#initialize_copy 0.00 1.58 0.00 16 0.00 0.00 Kernel#initialize_copy 0.00 1.58 0.00 10 0.00 0.00 Kernel#block_given? 0.00 1.58 0.00 614 0.00 0.00 Kernel#nil? 0.00 1.58 0.00 8 0.00 0.00 Gem::Version.create 0.00 1.58 0.00 47 0.00 0.00 Kernel#instance_variable_defined? 0.00 1.58 0.00 14 0.00 0.00 Gem::Version#prerelease? 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#invalidate_memoized_attributes 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#version= 0.00 1.58 0.00 150 0.00 0.00 Array#flatten 0.00 1.58 0.00 42 0.00 0.00 Array#compact! 0.00 1.58 0.00 42 0.00 0.00 Array#uniq! 0.00 1.58 0.00 45 0.00 0.22 Gem::Requirement.parse 0.00 1.58 0.00 87 0.00 0.23 Gem::Requirement#initialize 0.00 1.58 0.00 41 0.00 0.24 Gem::Requirement.create 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#required_rubygems_version= 0.00 1.58 0.00 36 0.00 0.00 Kernel#Array 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#require_paths= 0.00 1.58 0.00 8 0.00 0.00 Enumerable#grep 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#authors= 0.00 1.58 0.00 63 0.00 0.00 Integer#+ 0.00 1.58 0.00 8 0.00 0.00 Time.utc 0.00 1.58 0.00 6 0.00 0.00 Gem::Specification#description= 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#licenses= 0.00 1.58 0.00 6 0.00 0.00 Gem::Specification#required_ruby_version= 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#summary= 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#installed_by_version= 0.00 1.58 0.00 1011 0.00 0.10 Comparable#>= 0.00 1.58 0.00 340 0.00 0.00 Array#pop 0.00 1.58 0.00 24 0.00 0.00 Array#first 0.00 1.58 0.00 27 0.00 0.00 Array#include? 0.00 1.58 0.00 20 0.00 0.50 Gem::Dependency#initialize 0.00 1.58 0.00 15 0.00 0.67 Gem::Specification#add_dependency_with_type 0.00 1.58 0.00 9 0.00 0.00 Gem::Specification#add_development_dependency 0.00 1.58 0.00 6 0.00 1.67 Gem::Specification#add_runtime_dependency 0.00 1.58 0.00 17 0.00 3.53 Gem::Specification.load 0.00 1.58 0.00 8 0.00 5.00 Kernel#eval 0.00 1.58 0.00 7 0.00 0.00 String#upcase 0.00 1.58 0.00 389 0.00 0.00 #.[] 0.00 1.58 0.00 7 0.00 0.00 String#to_str 0.00 1.58 0.00 301 0.00 0.00 Gem.env_requirement 0.00 1.58 0.00 1524 0.00 0.00 Gem::Dependency#runtime? 0.00 1.58 0.00 515 0.00 0.08 Gem::Specification#has_conflicts? 0.00 1.58 0.00 7 0.00 0.00 Gem::Specification#raise_if_conflicts 0.00 1.58 0.00 7 0.00 0.00 Gem::Specification#runtime_dependencies 0.00 1.58 0.00 170 0.00 0.00 Gem::Specification.stubs_for 0.00 1.58 0.00 462 0.00 0.00 Gem::Dependency#requirement 0.00 1.58 0.00 122 0.00 0.00 Gem::Version#release 0.00 1.58 0.00 3 0.00 0.00 Gem::Version#segments 0.00 1.58 0.00 129 0.00 0.00 Gem::Version#bump 0.00 1.58 0.00 34 0.00 0.00 Integer#to_s 0.00 1.58 0.00 456 0.00 0.07 Comparable#< 0.00 1.58 0.00 213 0.00 0.85 Enumerable#find_all 0.00 1.58 0.00 304 0.00 0.00 Gem::Specification#platform 0.00 1.58 0.00 296 0.00 0.00 Gem.platforms 0.00 1.58 0.00 170 0.00 0.24 Array#reject! 0.00 1.58 0.00 170 0.00 1.41 Gem::Dependency#to_specs 0.00 1.58 0.00 3 0.00 0.00 Gem::Specification#rdoc_options= 0.00 1.58 0.00 27 0.00 0.00 Hash#delete 0.00 1.58 0.00 12 0.00 6.67 Gem::Specification#activate_dependencies 0.00 1.58 0.00 221 0.00 0.00 Gem::BasicSpecification#default_gem? 0.00 1.58 0.00 212 0.00 0.00 Gem::Specification#raw_require_paths 0.00 1.58 0.00 8 0.00 0.00 Gem::Specification#base_dir 0.00 1.58 0.00 212 0.00 0.00 Gem::Specification#gems_dir 0.00 1.58 0.00 8 0.00 0.00 Gem::BasicSpecification#full_name 0.00 1.58 0.00 212 0.00 0.00 Gem::Specification#full_name 0.00 1.58 0.00 6 0.00 0.00 Gem::BasicSpecification#find_full_gem_path 0.00 1.58 0.00 6 0.00 0.00 Gem::BasicSpecification#full_gem_path 0.00 1.58 0.00 12 0.00 0.00 Gem::BasicSpecification#full_require_paths 0.00 1.58 0.00 414 0.00 0.00 Gem::Specification#extensions 0.00 1.58 0.00 39 0.00 0.00 Gem.load_path_insert_index 0.00 1.58 0.00 6 0.00 0.00 Enumerable#each_with_index 0.00 1.58 0.00 6 0.00 0.00 Array#insert 0.00 1.58 0.00 7 0.00 0.00 Gem::Specification#add_self_to_load_path 0.00 1.58 0.00 7 0.00 5.71 Gem::Specification#activate 0.00 1.58 0.00 4 0.00 0.00 Gem::Specification#extra_rdoc_files= 0.00 1.58 0.00 4 0.00 0.00 Gem::Specification#files= 0.00 1.58 0.00 3 0.00 0.00 Gem::Requirement.default 0.00 1.58 0.00 11 0.00 0.00 Array#sort 0.00 1.58 0.00 10 0.00 1.00 Gem::Requirement#to_s 0.00 1.58 0.00 5 0.00 2.00 Gem::Requirement#== 0.00 1.58 0.00 2 0.00 0.00 Gem::Dependency#merge 0.00 1.58 0.00 2 0.00 80.00 Gem.try_activate 0.00 1.58 0.00 8 0.00 0.00 Comparable#== 0.00 1.58 0.00 12 0.00 0.00 Gem::BasicSpecification#this 0.00 1.58 0.00 389 0.00 0.00 Class#inherited 0.00 1.58 0.00 43 0.00 0.00 0x007faa8d19ea58.this 0.00 1.58 0.00 172 0.00 0.58 Gem::Specification.find_in_unresolved 0.00 1.58 0.00 168 0.00 0.00 Gem::Specification#respond_to_missing? 0.00 1.58 0.00 206 0.00 0.00 Gem::Specification#missing_extensions? 0.00 1.58 0.00 322 0.00 0.00 Array#push 0.00 1.58 0.00 120 0.00 0.00 Hash#has_key? 0.00 1.58 0.00 320 0.00 0.00 String#hash 0.00 1.58 0.00 160 0.00 0.00 Gem::Version#hash 0.00 1.58 0.00 160 0.00 0.00 Integer#^ 0.00 1.58 0.00 120 0.00 0.25 Gem::Specification#satisfies_requirement? 0.00 1.58 0.00 960 0.00 0.11 Gem::Specification#conficts_when_loaded_with? 0.00 1.58 0.00 83 0.00 0.00 Module#append_features 0.00 1.58 0.00 83 0.00 0.00 Module#included 0.00 1.58 0.00 499 0.00 0.00 BasicObject#singleton_method_added 0.00 1.58 0.00 110 0.00 0.00 Module#private 0.00 1.58 0.00 29 0.00 0.00 Module#protected 0.00 1.58 0.00 12 0.00 0.00 Hash#initialize 0.00 1.58 0.00 10 0.00 0.00 Kernel#instance_of? 0.00 1.58 0.00 36 0.00 0.00 Set#add 0.00 1.58 0.00 46 0.00 0.00 Set#merge 0.00 1.58 0.00 10 0.00 0.00 Enumerable#each_entry 0.00 1.58 0.00 10 0.00 0.00 Set#do_with_enum 0.00 1.58 0.00 10 0.00 0.00 Set#initialize 0.00 1.58 0.00 73 0.00 0.00 Module#attr_reader 0.00 1.58 0.00 2 0.00 0.00 Integer#div 0.00 1.58 0.00 17 0.00 0.59 Module#public 0.00 1.58 0.00 27 0.00 0.00 String#+ 0.00 1.58 0.00 1 0.00 0.00 BasicObject#!= 0.00 1.58 0.00 28 0.00 0.00 String#sub 0.00 1.58 0.00 28 0.00 0.00 String#downcase 0.00 1.58 0.00 78 0.00 0.00 Module#define_method 0.00 1.58 0.00 40 0.00 0.00 Module#attr_accessor 0.00 1.58 0.00 6 0.00 0.00 Integer#* 0.00 1.58 0.00 16 0.00 0.00 Module#extend_object 0.00 1.58 0.00 16 0.00 0.00 Module#extended 0.00 1.58 0.00 16 0.00 0.00 Kernel#extend 0.00 1.58 0.00 21 0.00 0.00 Module#autoload 0.00 1.58 0.00 11 0.00 0.00 Module#attr_writer 0.00 1.58 0.00 1 0.00 0.00 Faraday.default_adapter= 0.00 1.58 0.00 32 0.00 0.00 Module#const_defined? 0.00 1.58 0.00 1 0.00 0.00 Regexp.quote 0.00 1.58 0.00 1 0.00 0.00 Kernel#caller 0.00 1.58 0.00 1 0.00 0.00 Module#private_constant 0.00 1.58 0.00 9 0.00 0.00 Module#module_function 0.00 1.58 0.00 3 0.00 0.00 Module#deprecate_constant 0.00 1.58 0.00 6 0.00 0.00 Thread::Mutex#initialize 0.00 1.58 0.00 24 0.00 0.00 Module#alias_method 0.00 1.58 0.00 14 0.00 37.14 Faraday.require_libs 0.00 1.58 0.00 22 0.00 0.00 Faraday::Options.attribute_options 0.00 1.58 0.00 25 0.00 0.00 Hash#update 0.00 1.58 0.00 25 0.00 0.00 Faraday::Options.memoized_attributes 0.00 1.58 0.00 10 0.00 0.00 Faraday::Options.inherited 0.00 1.58 0.00 73 0.00 0.00 Symbol#== 0.00 1.58 0.00 14 0.00 0.00 Array#delete 0.00 1.58 0.00 28 0.00 0.00 Module#method_defined? 0.00 1.58 0.00 56 0.00 0.00 RubyVM::InstructionSequence.compile 0.00 1.58 0.00 21 0.00 0.00 RubyVM::InstructionSequence#to_a 0.00 1.58 0.00 21 0.00 0.00 Array#dig 0.00 1.58 0.00 26 0.00 0.00 Symbol#to_sym 0.00 1.58 0.00 21 0.00 0.00 Kernel#caller_locations 0.00 1.58 0.00 29 0.00 0.00 Module#to_s 0.00 1.58 0.00 21 0.00 0.00 Thread::Backtrace::Location#path 0.00 1.58 0.00 21 0.00 0.00 Thread::Backtrace::Location#lineno 0.00 1.58 0.00 21 0.00 0.00 String#dump 0.00 1.58 0.00 28 0.00 0.00 Kernel#proc 0.00 1.58 0.00 28 0.00 0.00 RubyVM::InstructionSequence#eval 0.00 1.58 0.00 28 0.00 0.00 Forwardable._compile_method 0.00 1.58 0.00 28 0.00 0.36 Forwardable._delegator_method 0.00 1.58 0.00 28 0.00 0.00 Module#module_eval 0.00 1.58 0.00 28 0.00 0.36 Forwardable#def_instance_delegator 0.00 1.58 0.00 33 0.00 0.91 Forwardable#def_instance_delegators 0.00 1.58 0.00 7 0.00 0.00 NilClass#to_s 0.00 1.58 0.00 9 0.00 0.00 BasicObject#initialize 0.00 1.58 0.00 6 0.00 0.00 Proc.new 0.00 1.58 0.00 24 0.00 0.00 Module#class_eval 0.00 1.58 0.00 5 0.00 0.00 Faraday::Options.memoized 0.00 1.58 0.00 2 0.00 0.00 Faraday::Options.options 0.00 1.58 0.00 1 0.00 0.00 #.members 0.00 1.58 0.00 5 0.00 0.00 Kernel#is_a? 0.00 1.58 0.00 4 0.00 0.00 Module#private_method_defined? 0.00 1.58 0.00 6 0.00 0.00 Faraday::Middleware.inherited 0.00 1.58 0.00 3 0.00 0.00 MonitorMixin#mon_initialize 0.00 1.58 0.00 3 0.00 0.00 MonitorMixin#initialize 0.00 1.58 0.00 6 0.00 5.00 Faraday::MiddlewareRegistry#register_middleware 0.00 1.58 0.00 5 0.00 48.00 MonitorMixin#mon_synchronize 0.00 1.58 0.00 5 0.00 54.00 Faraday::MiddlewareRegistry#middleware_mutex 0.00 1.58 0.00 8 0.00 0.00 Module#const_get 0.00 1.58 0.00 73 0.00 0.00 Module#const_set 0.00 1.58 0.00 3 0.00 0.00 BasicObject#! 0.00 1.58 0.00 22 0.00 0.00 Faraday::AutoloadHelper#autoload_all 0.00 1.58 0.00 2 0.00 0.00 Array#reject 0.00 1.58 0.00 1 0.00 0.00 0x007faa8d19ea58.to_spec 0.00 1.58 0.00 2 0.00 0.00 Kernel#raise 0.00 1.58 0.00 1 0.00 0.00 IO#read 0.00 1.58 0.00 1 0.00 10.00 IO.open 0.00 1.58 0.00 918 0.00 0.00 String#unpack 0.00 1.58 0.00 3674 0.00 0.00 Kernel#hash 0.00 1.58 0.00 1 0.00 0.00 Integer#<< 0.00 1.58 0.00 5 0.00 2.00 Kernel#require_relative 0.00 1.58 0.00 1 0.00 0.00 Kernel#__dir__ 0.00 1.58 0.00 1 0.00 0.00 Module#initialize 0.00 1.58 0.00 1 0.00 0.00 Module#prepend_features 0.00 1.58 0.00 1 0.00 0.00 Module#prepended 0.00 1.58 0.00 1 0.00 0.00 Module#prepend 0.00 1.58 0.00 5 0.00 0.00 Array#frozen? 0.00 1.58 0.00 5 0.00 0.00 Faraday::RackBuilder#locked? 0.00 1.58 0.00 5 0.00 0.00 Faraday::RackBuilder#raise_if_locked 0.00 1.58 0.00 46 0.00 0.00 Hash#[] 0.00 1.58 0.00 1 0.00 0.00 Array#clear 0.00 1.58 0.00 10 0.00 0.00 Faraday::RackBuilder#adapter_set? 0.00 1.58 0.00 8 0.00 0.00 Faraday::RackBuilder::Handler#initialize 0.00 1.58 0.00 5 0.00 0.00 Thread::Mutex#synchronize 0.00 1.58 0.00 6 0.00 0.00 Array#<< 0.00 1.58 0.00 4 0.00 0.00 Faraday::RackBuilder#use 0.00 1.58 0.00 6 0.00 0.00 Faraday::RackBuilder::Handler#klass 0.00 1.58 0.00 6 0.00 0.00 Module#ancestors 0.00 1.58 0.00 6 0.00 0.00 Faraday::RackBuilder#is_adapter? 0.00 1.58 0.00 2 0.00 0.00 Faraday::MiddlewareRegistry#fetch_middleware 0.00 1.58 0.00 1 0.00 0.00 Array#collect 0.00 1.58 0.00 2 0.00 0.00 Module#instance_method 0.00 1.58 0.00 1 0.00 0.00 URI::RFC3986_Parser#default_regexp 0.00 1.58 0.00 3 0.00 0.00 Hash#each_value 0.00 1.58 0.00 1 0.00 0.00 URI::RFC3986_Parser#initialize 0.00 1.58 0.00 1 0.00 0.00 URI::RFC2396_Parser#initialize_pattern 0.00 1.58 0.00 17 0.00 0.00 Regexp#initialize 0.00 1.58 0.00 1 0.00 0.00 URI::RFC2396_Parser#initialize_regexp 0.00 1.58 0.00 1 0.00 0.00 URI::RFC2396_Parser#initialize 0.00 1.58 0.00 2 0.00 5.00 Hash#each_pair 0.00 1.58 0.00 2 0.00 25.00 Integer#times 0.00 1.58 0.00 256 0.00 0.00 Integer#>> 0.00 1.58 0.00 257 0.00 0.00 Integer#& 0.00 1.58 0.00 1 0.00 0.00 Gem::Specification#add_bindir 0.00 1.58 0.00 1 0.00 0.00 Gem::Specification#files 0.00 1.58 0.00 15 0.00 0.00 Gem.remove_unresolved_default_spec 0.00 1.58 0.00 1 0.00 0.00 Kernel#kind_of? 0.00 1.58 0.00 3 0.00 3.33 Gem::Dependency#to_spec 0.00 1.58 0.00 2 0.00 0.00 Gem::Requirement#prerelease? 0.00 1.58 0.00 1 0.00 0.00 Gem::Dependency#prerelease? 0.00 1.58 0.00 1 0.00 0.00 Enumerable#partition 0.00 1.58 0.00 2 0.00 5.00 Kernel#gem 0.00 1.58 0.00 2 0.00 0.00 OpenSSL::PKey::DH#initialize 0.00 1.58 0.00 1 0.00 0.00 Kernel#lambda 0.00 1.58 0.00 24 0.00 0.00 Class#initialize 0.00 1.58 0.00 1 0.00 0.00 Integer#< 0.00 1.58 0.00 2 0.00 0.00 Array#+ 0.00 1.58 0.00 1 0.00 0.00 Integer#> 0.00 1.58 0.00 11 0.00 0.00 Regexp#to_s 0.00 1.58 0.00 1 0.00 0.00 Integer#~ 0.00 1.58 0.00 3 0.00 0.00 Integer#| 0.00 1.58 0.00 1 0.00 0.00 Integer#>= 0.00 1.58 0.00 1 0.00 0.00 Hash#merge! 0.00 1.58 0.00 1 0.00 0.00 OpenSSL::X509::Store#initialize 0.00 1.58 0.00 1 0.00 0.00 OpenSSL::X509::Store#flags= 0.00 1.58 0.00 1 0.00 0.00 Faraday::Adapter::Parallelism#supports_parallel? 0.00 1.58 0.00 1 0.00 0.00 Faraday::Adapter::Parallelism#inherited 0.00 1.58 0.00 4 0.00 120.00 Faraday::MiddlewareRegistry#load_middleware 0.00 1.58 0.00 1 0.00 240.00 Faraday::MiddlewareRegistry#lookup_middleware 0.00 1.58 0.00 1 0.00 250.00 Faraday::RackBuilder#adapter 0.00 1.58 0.00 1 0.00 250.00 Faraday::RackBuilder#build 0.00 1.58 0.00 1 0.00 250.00 Faraday::RackBuilder#initialize 0.00 1.58 0.00 20 0.00 0.00 Octokit::Configurable.keys 0.00 1.58 0.00 19 0.00 0.00 String#intern 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.access_token 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.api_endpoint 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.auto_paginate 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.bearer_token 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.client_id 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.client_secret 0.00 1.58 0.00 38 0.00 0.00 Octokit::Default.default_media_type 0.00 1.58 0.00 38 0.00 0.00 Octokit::Default.user_agent 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.connection_options 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.login 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.management_console_endpoint 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.management_console_password 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.middleware 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.netrc 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.netrc_file 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.per_page 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.password 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.proxy 0.00 1.58 0.00 19 0.00 0.00 Octokit::Default.web_endpoint 0.00 1.58 0.00 19 0.00 0.00 Hash.[] 0.00 1.58 0.00 20 0.00 1.00 Octokit::Configurable#reset! 0.00 1.58 0.00 2 0.00 0.00 IO#write 0.00 1.58 0.00 1 0.00 0.00 IO#puts 0.00 1.58 0.00 1 0.00 0.00 Kernel#puts 0.00 1.58 0.00 1 0.00 0.00 TracePoint#enable 0.00 1.58 0.00 1 0.00 0.00 TracePoint#disable 0.00 1.58 0.00 603 0.00 0.00 Thread.current 0.00 1.58 0.00 201 0.00 0.00 Thread::Mutex#lock 0.00 1.58 0.00 252 0.00 0.00 Kernel#respond_to? 0.00 1.58 0.00 691 0.00 0.00 Gem.suffixes 0.00 1.58 0.00 771 0.00 0.01 Gem.find_unresolved_default_spec 0.00 1.58 0.00 286 0.00 0.00 Gem::Specification.unresolved_deps 0.00 1.58 0.00 201 0.00 0.00 MonitorMixin#mon_check_owner 0.00 1.58 0.00 201 0.00 0.00 Thread::Mutex#unlock 0.00 1.58 0.00 2 0.00 0.00 Exception#initialize 0.00 1.58 0.00 12 0.00 0.00 Exception#exception 0.00 1.58 0.00 12 0.00 0.00 Exception#backtrace 0.00 1.58 0.00 6 0.00 0.00 Exception#to_s 0.00 1.58 0.00 6 0.00 0.00 Exception#message 0.00 1.58 0.00 66 0.00 0.00 String#start_with? 0.00 1.58 0.00 3 0.00 0.00 String#end_with? 0.00 1.58 0.00 124 0.00 0.00 String#initialize_copy 0.00 1.58 0.00 247 0.00 0.00 Kernel#initialize_dup 0.00 1.58 0.00 246 0.00 0.00 String#freeze 0.00 1.58 0.00 223 0.00 0.00 Gem.default_dir 0.00 1.58 0.00 828 0.00 0.00 File.join 0.00 1.58 0.00 222 0.00 0.00 Gem::BasicSpecification.default_specifications_dir 0.00 1.58 0.00 3 0.00 0.00 Dir.[] 0.00 1.58 0.00 70 0.00 0.00 Gem::BasicSpecification#internal_init 0.00 1.58 0.00 70 0.00 0.00 Gem::BasicSpecification#initialize 0.00 1.58 0.00 1103 0.00 0.00 Kernel#untaint 0.00 1.58 0.00 62 0.00 0.00 Gem::StubSpecification#initialize 0.00 1.58 0.00 6 0.00 0.00 Gem::StubSpecification.default_gemspec_stub 0.00 1.58 0.00 7 0.00 1.43 Gem::Specification.default_stubs 0.00 1.58 0.00 65 0.00 0.92 Gem::Specification.gemspec_stubs_in 0.00 1.58 0.00 324 0.00 0.59 Array#map 0.00 1.58 0.00 63 0.00 0.00 File#initialize 0.00 1.58 0.00 186 0.00 0.00 IO#readline 0.00 1.58 0.00 145 0.00 0.00 String#chomp 0.00 1.58 0.00 116 0.00 0.00 Regexp#=~ 0.00 1.58 0.00 74 0.00 0.00 String#split 0.00 1.58 0.00 62 0.00 0.00 String#[] 0.00 1.58 0.00 275 0.00 0.00 String#to_s 0.00 1.58 0.00 118 0.00 0.17 Gem::Version.new 0.00 1.58 0.00 131 0.00 0.00 String#=== 0.00 1.58 0.00 62 0.00 0.00 Gem::Platform.new 0.00 1.58 0.00 82 0.00 0.00 Gem::Version#version 0.00 1.58 0.00 83 0.00 0.00 Array#last 0.00 1.58 0.00 63 0.00 0.00 IO#closed? 0.00 1.58 0.00 63 0.00 0.00 IO#close 0.00 1.58 0.00 62 0.00 0.97 Kernel#open 0.00 1.58 0.00 62 0.00 0.97 Gem::StubSpecification#valid? 0.00 1.58 0.00 10 0.00 6.00 Array#select 0.00 1.58 0.00 1 0.00 0.00 Gem::Specification.dirs 0.00 1.58 0.00 240 0.00 0.00 File.dirname 0.00 1.58 0.00 59 0.00 1.69 Gem::Specification.map_stubs 0.00 1.58 0.00 56 0.00 0.00 Gem::StubSpecification.gemspec_stub 0.00 1.58 0.00 57 0.00 0.88 Gem::Specification.installed_stubs 0.00 1.58 0.00 341 0.00 0.00 Kernel#class 0.00 1.58 0.00 64 0.00 0.00 String#strip 0.00 1.58 0.00 1 0.00 1580.00 #toplevel ```

Compare with usual hello world script (removing require "octokit"):

See stdout ``` $ ruby -rprofile bin/test.rb hello world % cumulative self self total time seconds seconds calls ms/call ms/call name 0.00 0.00 0.00 1 0.00 0.00 TracePoint#enable 0.00 0.00 0.00 2 0.00 0.00 IO#set_encoding 0.00 0.00 0.00 2 0.00 0.00 IO#write 0.00 0.00 0.00 1 0.00 0.00 IO#puts 0.00 0.00 0.00 1 0.00 0.00 Kernel#puts 0.00 0.00 0.00 1 0.00 0.00 TracePoint#disable 0.00 0.01 0.00 1 0.00 10.00 #toplevel ```

Requirement

dsaenztagarro commented 7 years ago

texto

dsaenztagarro commented 7 years ago

This is a test

dsaenztagarro commented 7 years ago

This is other test

dsaenztagarro commented 7 years ago

This is a test. More text. And more