Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@drbrain
Last active January 3, 2016 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drbrain/8446901 to your computer and use it in GitHub Desktop.
Save drbrain/8446901 to your computer and use it in GitHub Desktop.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
36.34 72.79 72.79 4198641 0.02 0.02 Gem::Dependency#match?
21.77 116.39 43.60 4198852 0.01 0.03 Gem::SpecFetcher#search_for_dependency
15.89 148.23 31.84 75 424.53 2236.00 Array#select
5.21 158.66 10.43 438024 0.02 0.03 Gem::NameTuple#initialize
5.12 168.91 10.25 4199726 0.00 0.00 String#===
4.90 178.73 9.82 4644474 0.00 0.00 BasicObject#!
2.45 183.63 4.90 443833 0.01 0.04 Class#new
2.14 187.92 4.29 438026 0.01 0.11 Gem::NameTuple.from_list
1.69 191.30 3.38 2367 1.43 11.03 Array#map
0.61 192.52 1.22 441373 0.00 0.00 String#empty?
0.49 193.51 0.99 440903 0.00 0.00 Kernel#kind_of?
0.33 194.18 0.67 177 3.79 15.08 Marshal.load
0.31 194.81 0.63 14994 0.04 0.09 Gem::Version#initialize
0.11 195.03 0.22 14994 0.01 0.02 Gem::Version.correct?
0.10 195.24 0.21 5301 0.04 0.19 Gem::Specification#initialize
0.10 195.44 0.20 5010 0.04 0.08 Gem::Version#segments
% cumulative self self total
time seconds seconds calls ms/call ms/call name
7.52 0.30 0.30 27 11.11 11.11 OpenSSL::X509::Store#set_default_paths
4.76 0.49 0.19 315 0.60 4.48 Kernel#gem_original_require
3.76 0.64 0.15 3654 0.04 1.29 Array#each
3.26 0.77 0.13 3672 0.04 0.10 Gem::Package::TarHeader#initialize
3.01 0.89 0.12 26 4.62 4.62 OpenSSL::SSL::SSLSocket#connect
2.26 0.98 0.09 22544 0.00 0.00 Module#===
2.01 1.06 0.08 1199 0.07 0.10 Array#include?
2.01 1.14 0.08 1207 0.07 0.12 URI::Generic#to_s
2.01 1.22 0.08 6509 0.01 0.07 OptionParser::List#update
1.75 1.29 0.07 1398 0.05 0.09 Gem::Version#<=>
1.75 1.36 0.07 113 0.62 0.80 Hash#update
1.50 1.42 0.06 17528 0.00 0.00 Hash#[]
1.50 1.48 0.06 4495 0.01 0.27 Class#new
1.50 1.54 0.06 414 0.14 3.21 Gem::Package#extract_tar_gz
1.50 1.60 0.06 597 0.10 0.40 Gem::Dependency#match?
1.25 1.65 0.05 1798 0.03 0.16 Gem::Specification#initialize
1.25 1.70 0.05 1333 0.04 0.04 URI::Generic#default_port
1.25 1.75 0.05 1612 0.03 2.52 Array#map
1.00 1.79 0.04 9891 0.00 0.00 Symbol#==
1.00 1.83 0.04 666 0.06 0.06 FileUtils::Entry_#join
1.00 1.87 0.04 216 0.19 1.20 Gem::Package::TarHeader.from
1.00 1.91 0.04 662 0.06 0.08 Zlib::GzipReader#read
1.00 1.95 0.04 226 0.18 0.22 Hash#invert
1.00 1.99 0.04 14329 0.00 0.00 Kernel#hash
1.00 2.03 0.04 597 0.07 0.35 Gem::Source#<=>
1.00 2.07 0.04 2706 0.01 0.03 FileUtils#fu_check_options
$ ruby -rprofile -Ilib bin/gem install mechanize -i ~/tmp/gems --no-doc
Successfully installed mechanize-2.7.3
1 gem installed
% cumulative self self total
time seconds seconds calls ms/call ms/call name
40.07 8.61 8.61 19 453.16 690.53 Enumerable#sort_by
16.89 12.24 3.63 1202798 0.00 0.00 String#<=>
6.89 13.72 1.48 68847 0.02 0.03 Gem::NameTuple#initialize
4.75 14.74 1.02 72997 0.01 0.05 Class#new
3.16 15.42 0.68 4057 0.17 1.45 Array#each
3.12 16.09 0.67 68848 0.01 0.11 Gem::NameTuple.from_list
1.77 16.47 0.38 29 13.10 13.10 OpenSSL::X509::Store#set_default_paths
1.72 16.84 0.37 1625 0.23 3.38 Array#map
1.02 17.06 0.22 68848 0.00 0.00 Gem::SpecFetcher#tuples_for
0.93 17.26 0.20 76969 0.00 0.00 BasicObject#!
0.84 17.44 0.18 69109 0.00 0.00 Kernel#kind_of?
0.70 17.59 0.15 70602 0.00 0.00 String#empty?
0.56 17.71 0.12 1572 0.08 0.24 nil#
0.56 17.83 0.12 320 0.38 4.16 Kernel#gem_original_require
0.56 17.95 0.12 863 0.14 0.15 Array#include?
0.51 18.06 0.11 18 6.11 19.44 Marshal.load
0.47 18.16 0.10 2967 0.03 0.07 Gem::Version#initialize
0.47 18.26 0.10 1152 0.09 0.16 Gem::Version#<=>
0.42 18.35 0.09 17246 0.01 0.01 Hash#[]
0.42 18.44 0.09 28 3.21 3.21 OpenSSL::SSL::SSLSocket#connect
0.37 18.52 0.08 6509 0.01 0.07 OptionParser::List#update
0.33 18.59 0.07 3672 0.02 0.05 Gem::Package::TarHeader#initialize
0.28 18.65 0.06 216 0.28 0.93 Gem::Package::TarHeader.from
0.28 18.71 0.06 1552 0.04 0.06 Gem::Version#version
0.28 18.77 0.06 206 0.29 125.05 Net::BufferedIO#rbuf_fill
0.23 18.82 0.05 1736 0.03 0.18 Gem::Specification#initialize
0.23 18.87 0.05 114 0.44 1.84 Array#delete_if
0.23 18.92 0.05 226 0.22 0.27 Hash#invert
0.23 18.97 0.05 113 0.44 0.62 Hash#update
0.23 19.02 0.05 14305 0.00 0.00 Kernel#hash
0.23 19.07 0.05 414 0.12 3.53 Gem::Package#extract_tar_gz
0.19 19.11 0.04 826 0.05 0.21 FileUtils::Entry_#remove_file
0.19 19.15 0.04 3866 0.01 0.02 Kernel#dup
0.19 19.19 0.04 2710 0.01 0.04 FileUtils#fu_check_options
0.19 19.23 0.04 565 0.07 0.11 OpenSSL::SSL::SSLSocket#sysread_nonblock
0.19 19.27 0.04 572 0.07 0.07 String#slice!
0.19 19.31 0.04 2694 0.01 0.08 Gem::Version#marshal_load
0.19 19.35 0.04 1278 0.03 0.05 Gem.find_unresolved_default_spec
0.19 19.39 0.04 646 0.06 0.17 URI::Generic#to_s
0.19 19.43 0.04 2967 0.01 0.03 Gem::Version.correct?
0.19 19.47 0.04 5495 0.01 0.01 Symbol#to_s
0.14 19.50 0.03 1721 0.02 0.02 Hash#key?
0.14 19.53 0.03 525 0.06 0.10 Psych::ScalarScanner#tokenize
0.14 19.56 0.03 666 0.05 0.08 FileUtils::Entry_#join
0.14 19.59 0.03 264 0.11 3.79 Kernel#open
0.14 19.62 0.03 414 0.07 1.30 FileUtils#rm_r
0.14 19.65 0.03 295 0.10 0.10 Net::BufferedIO#rbuf_consume
0.14 19.68 0.03 283 0.11 0.11 Gem::Resolver::APISpecification#initialize
0.14 19.71 0.03 3174 0.01 0.01 String#=~
0.14 19.74 0.03 5614 0.01 0.01 Kernel#class
0.14 19.77 0.03 1019 0.03 0.03 Array#flatten
0.14 19.80 0.03 19612 0.00 0.00 Module#===
0.14 19.83 0.03 78 0.38 2.95 Gem::Specification.each
0.14 19.86 0.03 1529 0.02 0.03 BasicObject#!=
0.14 19.89 0.03 207 0.14 1.74 FileUtils#rm_rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment