Created
February 27, 2018 19:17
-
-
Save makimoto/a952f0a05d95aacec3e4c79804c6d368 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [bundler|tags/v1.16.1]% stackprof out.dump --limit 100 | |
| ================================== | |
| Mode: cpu(1000) | |
| Samples: 21403 (6.89% miss rate) | |
| GC: 2649 (12.38%) | |
| ================================== | |
| TOTAL (pct) SAMPLES (pct) FRAME | |
| 5838 (27.3%) 5838 (27.3%) Gem::Package#realpath | |
| 2649 (12.4%) 2649 (12.4%) (garbage collection) | |
| 11253 (52.6%) 1873 (8.8%) Gem::Package#extract_tar_gz | |
| 1784 (8.3%) 1715 (8.0%) FileUtils::Entry_#lstat | |
| 5405 (25.3%) 1096 (5.1%) Gem::Package#mkdir_p_safe | |
| 1077 (5.0%) 1072 (5.0%) Gem::Package::TarReader::Entry#read | |
| 1011 (4.7%) 670 (3.1%) Gem::Package::TarReader::Entry#read | |
| 1340 (6.3%) 621 (2.9%) Gem::Package#verify_gz | |
| 488 (2.3%) 484 (2.3%) FileUtils::Entry_#remove_file | |
| 453 (2.1%) 351 (1.6%) Kernel#require | |
| 337 (1.6%) 337 (1.6%) OpenSSL::Buffering#read_nonblock | |
| 317 (1.5%) 296 (1.4%) Gem::Request.configure_connection_for_https | |
| 13671 (63.9%) 277 (1.3%) Gem::Package::TarReader#each | |
| 179 (0.8%) 179 (0.8%) Gem::Package::TarHeader.strict_oct | |
| 331 (1.5%) 162 (0.8%) Net::Protocol#ssl_socket_connect | |
| 136 (0.6%) 134 (0.6%) FileUtils::Entry_#remove_dir1 | |
| 122 (0.6%) 122 (0.6%) Gem::Package::TarHeader#initialize | |
| 123 (0.6%) 120 (0.6%) FileUtils::Entry_#entries | |
| 116 (0.5%) 113 (0.5%) Bundler::CompactIndexClient::Cache#checksums | |
| 120 (0.6%) 108 (0.5%) Psych::ScalarScanner#tokenize | |
| 401 (1.9%) 106 (0.5%) FileUtils::Entry_#chmod | |
| 104 (0.5%) 104 (0.5%) Gem::Package::TarReader::Entry#initialize | |
| 101 (0.5%) 101 (0.5%) Gem::StreamUI::SilentDownloadReporter#update | |
| 145 (0.7%) 85 (0.4%) #<Module:0x00007f7f5510fe88>.verify_certificate_identity | |
| 125 (0.6%) 84 (0.4%) #<Module:0x00007f7f548dbaf0>.timeout | |
| 84 (0.4%) 84 (0.4%) #<Module:0x00007f7f55056f78>.write_binary | |
| 84 (0.4%) 83 (0.4%) #<Module:0x00007f7f5486e400>.fu_mkdir | |
| 74 (0.3%) 74 (0.3%) Bundler::DepProxy#method_missing | |
| 411 (1.9%) 74 (0.3%) Net::BufferedIO#rbuf_fill | |
| 504 (2.4%) 65 (0.3%) Net::HTTP#connect | |
| 61 (0.3%) 61 (0.3%) FileUtils::Entry_#dereference? | |
| 59 (0.3%) 59 (0.3%) MonitorMixin#mon_enter | |
| 83 (0.4%) 58 (0.3%) Gem::Installer#write_spec | |
| 60 (0.3%) 57 (0.3%) #<Module:0x00007f7f5510fe88>.verify_hostname | |
| 55 (0.3%) 55 (0.3%) Psych::Nodes::Scalar#initialize | |
| 108 (0.5%) 54 (0.3%) Gem::Version#<=> | |
| 53 (0.2%) 53 (0.2%) Gem::Package::TarReader#rewind | |
| 129 (0.6%) 49 (0.2%) Bundler::Resolver::SpecGroup#dependencies_for_activated_platforms | |
| 46 (0.2%) 46 (0.2%) #<Module:0x00007f7f5486e400>.fu_list | |
| 67 (0.3%) 45 (0.2%) Gem::Specification#set_not_nil_attributes_to_default_values | |
| 53 (0.2%) 45 (0.2%) Bundler::Resolver::SpecGroup#for? | |
| 44 (0.2%) 44 (0.2%) Gem::Request.get_cert_files | |
| 43 (0.2%) 43 (0.2%) Gem::BasicSpecification#internal_init | |
| 42 (0.2%) 42 (0.2%) Psych::TreeBuilder#event_location | |
| 13821 (64.6%) 41 (0.2%) Gem::Package::FileSource#with_read_io | |
| 134 (0.6%) 38 (0.2%) Bundler::Index.sort_specs | |
| 38 (0.2%) 38 (0.2%) Set#add | |
| 36 (0.2%) 36 (0.2%) OpenSSL::Buffering#do_write | |
| 36 (0.2%) 36 (0.2%) #<Module:0x00007f7f558ab890>.fu_mkdir | |
| 255 (1.2%) 34 (0.2%) Psych::Visitors::Visitor#visit | |
| 31 (0.1%) 31 (0.1%) Net::BufferedIO#rbuf_consume | |
| 30 (0.1%) 30 (0.1%) Gem::Version#_segments | |
| 28 (0.1%) 28 (0.1%) Psych::TreeBuilder#set_start_location | |
| 26 (0.1%) 26 (0.1%) Gem::Package::FileSource#start | |
| 1611 (7.5%) 26 (0.1%) Gem::Package#install_location | |
| 25 (0.1%) 25 (0.1%) Gem::Package::TarReader::Entry#rewind | |
| 28 (0.1%) 25 (0.1%) Gem::Requirement.parse | |
| 53 (0.2%) 25 (0.1%) Gem::Requirement#initialize | |
| 252 (1.2%) 24 (0.1%) Psych::Visitors::ToRuby#visit_Psych_Nodes_Mapping | |
| 27 (0.1%) 23 (0.1%) Bundler::Index#<< | |
| 45 (0.2%) 22 (0.1%) Gem::Version#canonical_segments | |
| 22 (0.1%) 22 (0.1%) Bundler::Fetcher::Dependency#get_formatted_specs_and_deps | |
| 22 (0.1%) 22 (0.1%) Gem::Specification#default_value | |
| 20 (0.1%) 20 (0.1%) Gem::Package::TarReader::Entry#close | |
| 40 (0.2%) 20 (0.1%) Gem::Specification#to_ruby | |
| 49 (0.2%) 17 (0.1%) Bundler::CompactIndexClient::Updater#checksum_for_file | |
| 17 (0.1%) 17 (0.1%) Gem::Specification#set_nil_attributes_to_nil | |
| 17 (0.1%) 17 (0.1%) Psych::Nodes::Node#initialize | |
| 17 (0.1%) 17 (0.1%) Psych::TreeBuilder#set_end_location | |
| 1443 (6.7%) 17 (0.1%) Gem::RemoteFetcher#download | |
| 46 (0.2%) 17 (0.1%) Bundler::Index#search_by_dependency | |
| 240 (1.1%) 16 (0.1%) Psych::Visitors::ToRuby#revive_hash | |
| 15 (0.1%) 15 (0.1%) Gem::Package::FileSource#present? | |
| 15 (0.1%) 15 (0.1%) Bundler::Thor::Shell::Color#can_display_colors? | |
| 440 (2.1%) 15 (0.1%) Gem::Package#load_spec | |
| 13 (0.1%) 13 (0.1%) Gem::Package::TarReader::Entry#closed? | |
| 49 (0.2%) 13 (0.1%) Net::HTTPResponse.each_response_header | |
| 18 (0.1%) 13 (0.1%) Psych::ClassLoader#load | |
| 26 (0.1%) 13 (0.1%) Bundler::DepProxy#== | |
| 12 (0.1%) 12 (0.1%) Psych::Coder#initialize | |
| 13 (0.1%) 12 (0.1%) Gem::Ext::Builder.run | |
| 12 (0.1%) 12 (0.1%) #<Module:0x00007f7f560038e0>.load_marshal | |
| 1793 (8.4%) 12 (0.1%) FileUtils::Entry_#lstat! | |
| 12 (0.1%) 12 (0.1%) Net::HTTPResponse::Inflater#inflate_adapter | |
| 12 (0.1%) 12 (0.1%) Gem::Package::TarReader::Entry#full_name | |
| 13 (0.1%) 11 (0.1%) Gem::Specification#ruby_code | |
| 73 (0.3%) 11 (0.1%) OpenSSL::SSL::SSLSocket#post_connection_check | |
| 11 (0.1%) 11 (0.1%) Psych::ClassLoader#initialize | |
| 15 (0.1%) 10 (0.0%) Bundler::Source::Rubygems#dependency_names_to_double_check | |
| 10 (0.0%) 10 (0.0%) Gem::Dependency#type | |
| 159 (0.7%) 10 (0.0%) Bundler::Resolver#sort_dependencies | |
| 12 (0.1%) 9 (0.0%) URI::Generic#component_ary | |
| 52 (0.2%) 9 (0.0%) #<Module:0x00007f7f55056f78>.ensure_subdirectories | |
| 11 (0.1%) 9 (0.0%) Bundler::Index#specs_by_name | |
| 2235 (10.4%) 8 (0.0%) #<Module:0x00007f7f5486e400>.remove_entry | |
| 17 (0.1%) 8 (0.0%) Gem::Installer#generate_bin_script | |
| 8 (0.0%) 8 (0.0%) Psych::Parser#initialize | |
| 158 (0.7%) 8 (0.0%) Bundler::Resolver#search_for | |
| 8 (0.0%) 8 (0.0%) FileUtils::Entry_#join | |
| 12 (0.1%) 8 (0.0%) Bundler::CompactIndexClient::Cache#parse_gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment