Skip to content

Instantly share code, notes, and snippets.

@hmarr
Created June 23, 2014 11:46
Show Gist options
  • Save hmarr/bc837544da820e566868 to your computer and use it in GitHub Desktop.
Save hmarr/bc837544da820e566868 to your computer and use it in GitHub Desktop.
elasticsearch-ruby profile
Your Gemfile lists the gem elasticsearch-extensions (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Starting 2 Elasticsearch nodes.............
--------------------------------------------------------------------------------
Cluster: elasticsearch_test
Status: green
Nodes: 2
+ node-2 | version: 1.1.1, pid: 79902, address: inet[/0:0:0:0:0:0:0:0%0:9251]
- node-1 | version: 1.1.1, pid: 79901, address: inet[/0:0:0:0:0:0:0:0:9250]
Loaded Suite test,test/integration,test/profile,test/unit
Started at 2014-06-23 12:40:55 +0100 w/ seed 42342.
Elasticsearch::Transport::ClientProfilingTest
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Curb client should get the cluster info (1000x)
mean: 0.62ms | avg: 0.87ms | max: 23.02ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 0.552847
Sort by: self_time
%self total self wait child calls name
20.18 0.116 0.112 0.000 0.005 1000 Curl::Multi#add
16.34 0.093 0.090 0.000 0.003 1000 Curl::Multi#perform
6.24 0.035 0.035 0.000 0.000 1000 JSON::Ext::Parser#parse
5.20 0.508 0.029 0.000 0.479 1000 Elasticsearch::Transport::Transport::Base#perform_request
3.78 0.286 0.021 0.000 0.265 1000 Proc#call
1.92 0.225 0.011 0.000 0.214 1000 Curl::Easy#perform
1.88 0.553 0.010 0.000 0.542 1 Elasticsearch::Extensions::Test::Profiling#measure
1.67 0.076 0.009 0.000 0.067 1000 MultiJson::Adapters::JsonCommon#load
1.63 0.112 0.009 0.000 0.103 1000 <Class::MultiJson::Adapter>#load
1.60 0.029 0.009 0.000 0.020 3000 Class#new
1.59 0.020 0.009 0.000 0.012 4000 <Class::Time>#now
1.58 0.012 0.009 0.000 0.003 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
1.52 0.015 0.008 0.000 0.006 1000 JSON::Ext::Parser#initialize
1.49 0.038 0.008 0.000 0.030 1000 Elasticsearch::Transport::Transport::Base#get_connection
1.40 0.012 0.008 0.000 0.004 4000 Time#initialize
1.16 0.006 0.006 0.000 0.000 9000 Hash#key?
1.00 0.232 0.006 0.000 0.226 1000 Curl::Easy#http
0.99 0.013 0.005 0.000 0.007 1000 Time#-
0.97 0.009 0.005 0.000 0.004 3000 *MultiJson::Options#load_options
0.96 0.007 0.005 0.000 0.002 3000 Kernel#respond_to?
0.91 0.005 0.005 0.000 0.000 2000 Elasticsearch::Transport::Transport::Response#initialize
0.90 0.520 0.005 0.000 0.515 1000 BasicObject#instance_eval
0.85 0.123 0.005 0.000 0.118 1000 MultiJson#load
0.85 0.513 0.005 0.000 0.508 1000 Elasticsearch::Transport::Transport::HTTP::Curb#perform_request
0.84 0.017 0.005 0.000 0.012 1000 Curl::Easy#set
0.83 0.005 0.005 0.000 0.000 5000 Fixnum#+
0.82 0.018 0.005 0.000 0.013 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.80 0.005 0.004 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.79 0.010 0.004 0.000 0.005 1000 Curl::Easy#sym2curl
0.72 0.004 0.004 0.000 0.000 2000 Kernel#hash
0.69 0.004 0.004 0.000 0.000 1000 Hash#each
0.65 0.008 0.004 0.000 0.005 2000 Kernel#initialize_dup
0.62 0.055 0.003 0.000 0.052 1000 JSON#parse
0.61 0.003 0.003 0.000 0.000 1000 Hash#initialize_copy
0.61 0.003 0.003 0.000 0.000 1000 Regexp#===
0.60 0.007 0.003 0.000 0.004 1000 <Class::MultiJson::Adapter>#blank?
0.59 0.006 0.003 0.000 0.002 1000 MultiJson#current_adapter
0.59 0.003 0.003 0.000 0.000 2000 String#force_encoding
0.55 0.005 0.003 0.000 0.002 1000 Array#reject
0.54 0.126 0.003 0.000 0.123 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.51 0.003 0.003 0.000 0.000 1000 Hash#[]=
0.50 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.50 0.008 0.003 0.000 0.005 1000 Hash#merge
0.46 0.019 0.003 0.000 0.017 1000 Curl::Easy#url=
0.46 0.515 0.003 0.000 0.513 1000 Elasticsearch::Transport::Client#perform_request
0.45 0.003 0.003 0.000 0.000 3000 Curl::Easy#multi
0.45 0.002 0.002 0.000 0.000 2000 Symbol#to_s
0.44 0.002 0.002 0.000 0.000 1000 Module#const_get
0.44 0.002 0.002 0.000 0.000 2998 Kernel#nil?
0.42 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.42 0.002 0.002 0.000 0.000 1000 MultiJson#adapter
0.42 0.003 0.002 0.000 0.001 1000 Time#+
0.41 0.008 0.002 0.000 0.005 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.36 0.005 0.002 0.000 0.003 1000 Kernel#dup
0.34 0.002 0.002 0.000 0.000 2000 Kernel#respond_to_missing?
0.34 0.003 0.002 0.000 0.001 1000 Time#<=>
0.34 0.005 0.002 0.000 0.003 1000 Comparable#>
0.33 0.004 0.002 0.000 0.002 1000 Numeric#quo
0.32 0.002 0.002 0.000 0.000 1000 <Class::MultiJson::Adapters::JsonGem>#instance
0.32 0.002 0.002 0.000 0.000 1000 Rational#/
0.31 0.003 0.002 0.000 0.001 1000 Rational#to_f
0.30 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.28 0.002 0.002 0.000 0.000 1000 Curl::Easy#setopt
0.26 0.001 0.001 0.000 0.000 1000 String#initialize_copy
0.26 0.001 0.001 0.000 0.000 1000 String#upcase
0.25 0.001 0.001 0.000 0.000 1000 Curl::Easy#last_result
0.24 0.001 0.001 0.000 0.000 1000 String#to_sym
0.23 0.001 0.001 0.000 0.000 1000 Curl::Easy#header_str
0.21 0.001 0.001 0.000 0.000 1000 Curl::Easy#response_code
0.19 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.19 0.001 0.001 0.000 0.000 1000 Kernel#block_given?
0.18 0.001 0.001 0.000 0.000 1000 Curl::Easy#body_str
0.18 0.001 0.001 0.000 0.000 1000 Integer#to_i
0.18 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.17 0.001 0.001 0.000 0.000 1000 Hash#delete
0.17 0.001 0.001 0.000 0.000 1000 Kernel#is_a?
0.17 0.001 0.001 0.000 0.000 1000 Hash#merge!
0.16 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.02 0.000 0.000 0.000 0.000 1 <Class::Curl::Multi>#new
0.00 0.000 0.000 0.000 0.000 2 NilClass#nil?
0.00 0.000 0.000 0.000 0.000 1 Curl::Easy#multi=
* indicates recursively called methods
PASS (0:00:03.179) test_: Elasticsearch client benchmark with a single-node cluster and the Curb client should get the cluster info (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Curb client should index a document (1000x)
mean: 2.45ms | avg: 2.79ms | max: 35.43ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 0.830409
Sort by: self_time
%self total self wait child calls name
20.65 0.181 0.171 0.000 0.010 1000 Curl::Multi#perform
16.01 0.139 0.133 0.000 0.006 1000 Curl::Multi#add
4.40 0.755 0.037 0.000 0.718 1000 Elasticsearch::Transport::Transport::Base#perform_request
4.14 0.512 0.034 0.000 0.478 1000 Proc#call
2.74 0.778 0.023 0.000 0.755 1000 Elasticsearch::Transport::Transport::HTTP::Curb#perform_request
1.85 0.046 0.015 0.000 0.030 4000 Class#new
1.66 0.830 0.014 0.000 0.817 1 Elasticsearch::Extensions::Test::Profiling#measure
1.64 0.340 0.014 0.000 0.326 1000 Curl::Easy#perform
1.47 0.029 0.012 0.000 0.017 1000 JSON::Ext::Generator::GeneratorMethods::Hash#to_json
1.38 0.015 0.011 0.000 0.003 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
1.30 0.106 0.011 0.000 0.095 1000 <Class::MultiJson::Adapter>#load
1.29 0.011 0.011 0.000 0.000 1000 JSON::Ext::Parser#parse
1.25 0.059 0.010 0.000 0.049 1000 MultiJson::Adapters::JsonCommon#load
1.19 0.023 0.010 0.000 0.013 4000 <Class::Time>#now
1.18 0.046 0.010 0.000 0.036 1000 Elasticsearch::Transport::Transport::Base#get_connection
1.15 0.017 0.010 0.000 0.007 1000 JSON::Ext::Parser#initialize
1.15 0.010 0.010 0.000 0.000 12000 Hash#key?
1.04 0.013 0.009 0.000 0.004 4000 Time#initialize
1.00 0.790 0.008 0.000 0.781 1000 BasicObject#instance_eval
0.95 0.059 0.008 0.000 0.052 1000 <Class::MultiJson::Adapter>#dump
0.92 0.017 0.008 0.000 0.010 1000 Time#-
0.88 0.017 0.007 0.000 0.010 2000 Hash#merge
0.88 0.013 0.007 0.000 0.005 2000 MultiJson#current_adapter
0.85 0.007 0.007 0.000 0.000 2000 Elasticsearch::Transport::Transport::Response#initialize
0.85 0.007 0.007 0.000 0.000 2000 Kernel#hash
0.81 0.009 0.007 0.000 0.002 3000 Kernel#respond_to?
0.79 0.011 0.007 0.000 0.005 3000 *MultiJson::Options#load_options
0.74 0.006 0.006 0.000 0.000 4000 Kernel#respond_to_missing?
0.73 0.347 0.006 0.000 0.341 1000 Curl::Easy#http
0.72 0.013 0.006 0.000 0.007 3000 Kernel#initialize_dup
0.72 0.007 0.006 0.000 0.001 1000 Curl::Easy#put_data=
0.71 0.022 0.006 0.000 0.016 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.69 0.119 0.006 0.000 0.113 1000 MultiJson#load
0.69 0.021 0.006 0.000 0.015 1000 Curl::Easy#set
0.68 0.006 0.006 0.000 0.000 2000 Hash#initialize_copy
0.66 0.005 0.005 0.000 0.000 2000 MultiJson#adapter
0.63 0.009 0.005 0.000 0.003 2000 MultiJson::Options#dump_options
0.63 0.005 0.005 0.000 0.000 1000 Hash#each
0.61 0.006 0.005 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.61 0.012 0.005 0.000 0.007 1000 Curl::Easy#sym2curl
0.59 0.005 0.005 0.000 0.000 2000 String#force_encoding
0.59 0.005 0.005 0.000 0.000 5000 Fixnum#+
0.55 0.005 0.005 0.000 0.000 2000 String#encode
0.54 0.005 0.005 0.000 0.000 1000 Hash#[]=
0.54 0.005 0.005 0.000 0.000 1000 Regexp#===
0.53 0.004 0.004 0.000 0.000 3000 Symbol#to_s
0.52 0.034 0.004 0.000 0.030 1000 MultiJson::Adapters::JsonCommon#dump
0.52 0.078 0.004 0.000 0.073 1000 Elasticsearch::Transport::Transport::Base#__convert_to_json
0.50 0.007 0.004 0.000 0.002 1000 JSON::Ext::Generator::State#initialize
0.48 0.123 0.004 0.000 0.119 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.48 0.004 0.004 0.000 0.000 2000 <Class::MultiJson::Adapters::JsonGem>#instance
0.47 0.009 0.004 0.000 0.005 1000 <Class::MultiJson::Adapter>#blank?
0.46 0.034 0.004 0.000 0.031 1000 JSON#parse
0.46 0.004 0.004 0.000 0.000 1000 Module#const_get
0.46 0.068 0.004 0.000 0.065 1000 MultiJson#dump
0.44 0.007 0.004 0.000 0.003 1000 Array#reject
0.43 0.781 0.004 0.000 0.778 1000 Elasticsearch::Transport::Client#perform_request
0.42 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.41 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.41 0.003 0.003 0.000 0.000 2000 MultiJson::Options#default_dump_options
0.37 0.003 0.003 0.000 0.000 2000 Kernel#is_a?
0.36 0.024 0.003 0.000 0.021 1000 Curl::Easy#url=
0.35 0.003 0.003 0.000 0.000 1000 Rational#/
0.34 0.003 0.003 0.000 0.000 3000 Curl::Easy#multi
0.34 0.071 0.003 0.000 0.068 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#dump
0.33 0.003 0.003 0.000 0.000 2998 Kernel#nil?
0.31 0.010 0.003 0.000 0.007 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.30 0.003 0.003 0.000 0.001 1000 Time#+
0.29 0.004 0.002 0.000 0.001 1000 Time#<=>
0.28 0.006 0.002 0.000 0.004 1000 Comparable#>
0.27 0.006 0.002 0.000 0.004 1000 Kernel#dup
0.27 0.003 0.002 0.000 0.001 1000 Rational#to_f
0.27 0.002 0.002 0.000 0.000 2000 Hash#delete
0.27 0.002 0.002 0.000 0.000 2000 Hash#merge!
0.26 0.005 0.002 0.000 0.003 1000 Numeric#quo
0.24 0.002 0.002 0.000 0.000 1000 Curl::Easy#last_result
0.22 0.002 0.002 0.000 0.000 1000 String#upcase
0.22 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.22 0.002 0.002 0.000 0.000 1000 String#initialize_copy
0.21 0.002 0.002 0.000 0.000 1000 Hash#keys
0.21 0.002 0.002 0.000 0.000 1000 Curl::Easy#setopt
0.20 0.002 0.002 0.000 0.000 1000 Curl::Easy#response_code
0.20 0.002 0.002 0.000 0.000 1000 String#to_sym
0.18 0.001 0.001 0.000 0.000 1000 Curl::Easy#header_str
0.17 0.001 0.001 0.000 0.000 1000 String#to_s
0.17 0.001 0.001 0.000 0.000 1000 Kernel#block_given?
0.16 0.001 0.001 0.000 0.000 1000 Integer#to_i
0.15 0.001 0.001 0.000 0.000 1000 Curl::Easy#body_str
0.15 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.15 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.13 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.01 0.000 0.000 0.000 0.000 1 <Class::Curl::Multi>#new
0.00 0.000 0.000 0.000 0.000 2 NilClass#nil?
0.00 0.000 0.000 0.000 0.000 1 Curl::Easy#multi=
* indicates recursively called methods
PASS (0:00:06.949) test_: Elasticsearch client benchmark with a single-node cluster and the Curb client should index a document (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Curb client should search (1000x)
mean: 2.76ms | avg: 3.36ms | max: 76.66ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 1.074714
Sort by: self_time
%self total self wait child calls name
17.98 0.205 0.193 0.000 0.011 1000 Curl::Multi#perform
14.77 0.159 0.159 0.000 0.000 1000 JSON::Ext::Parser#parse
11.69 0.133 0.126 0.000 0.007 1000 Curl::Multi#add
3.95 1.007 0.042 0.000 0.964 1000 Elasticsearch::Transport::Transport::Base#perform_request
3.73 0.573 0.040 0.000 0.533 1000 Proc#call
1.81 0.047 0.019 0.000 0.028 1000 JSON::Ext::Generator::GeneratorMethods::Hash#to_json
1.68 0.053 0.018 0.000 0.035 4000 Class#new
1.47 0.360 0.016 0.000 0.344 1000 Curl::Easy#perform
1.40 1.075 0.015 0.000 1.060 1 Elasticsearch::Extensions::Test::Profiling#measure
1.31 0.218 0.014 0.000 0.203 1000 MultiJson::Adapters::JsonCommon#load
1.22 0.017 0.013 0.000 0.004 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
1.18 0.272 0.013 0.000 0.260 1000 <Class::MultiJson::Adapter>#load
1.09 0.027 0.012 0.000 0.015 4000 <Class::Time>#now
1.06 0.053 0.011 0.000 0.042 1000 Elasticsearch::Transport::Transport::Base#get_connection
1.03 0.019 0.011 0.000 0.008 1000 JSON::Ext::Parser#initialize
1.02 0.011 0.011 0.000 0.000 12000 Hash#key?
0.97 0.015 0.010 0.000 0.005 4000 Time#initialize
0.96 1.028 0.010 0.000 1.018 1000 BasicObject#instance_eval
0.86 0.082 0.009 0.000 0.073 1000 <Class::MultiJson::Adapter>#dump
0.82 0.015 0.009 0.000 0.006 2000 MultiJson#current_adapter
0.82 0.020 0.009 0.000 0.011 1000 Time#-
0.79 0.009 0.009 0.000 0.000 2000 Kernel#hash
0.77 0.008 0.008 0.000 0.000 2000 Elasticsearch::Transport::Transport::Response#initialize
0.77 0.020 0.008 0.000 0.011 2000 Hash#merge
0.76 0.008 0.008 0.000 0.000 4000 String#encode
0.74 0.011 0.008 0.000 0.003 3000 Kernel#respond_to?
0.74 0.008 0.008 0.000 0.000 5000 Symbol#to_s
0.72 0.013 0.008 0.000 0.005 3000 *MultiJson::Options#load_options
0.68 0.016 0.007 0.000 0.009 3000 Kernel#initialize_dup
0.67 0.369 0.007 0.000 0.361 1000 Curl::Easy#http
0.66 1.014 0.007 0.000 1.007 1000 Elasticsearch::Transport::Transport::HTTP::Curb#perform_request
0.65 0.008 0.007 0.000 0.001 1000 Curl::Easy#put_data=
0.63 0.288 0.007 0.000 0.282 1000 MultiJson#load
0.63 0.025 0.007 0.000 0.018 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.63 0.007 0.007 0.000 0.000 4000 Kernel#respond_to_missing?
0.61 0.024 0.007 0.000 0.017 1000 Curl::Easy#set
0.61 0.007 0.007 0.000 0.000 2000 Hash#initialize_copy
0.60 0.006 0.006 0.000 0.000 2000 MultiJson#adapter
0.57 0.010 0.006 0.000 0.004 2000 MultiJson::Options#dump_options
0.57 0.007 0.006 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.57 0.006 0.006 0.000 0.000 5000 Fixnum#+
0.55 0.006 0.006 0.000 0.000 1000 Hash#each
0.54 0.014 0.006 0.000 0.008 1000 Curl::Easy#sym2curl
0.54 0.006 0.006 0.000 0.000 1000 Regexp#===
0.53 0.006 0.006 0.000 0.000 2000 String#force_encoding
0.49 0.005 0.005 0.000 0.000 1000 Hash#[]=
0.47 0.053 0.005 0.000 0.048 1000 MultiJson::Adapters::JsonCommon#dump
0.46 0.293 0.005 0.000 0.288 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.46 0.187 0.005 0.000 0.182 1000 JSON#parse
0.44 0.103 0.005 0.000 0.098 1000 Elasticsearch::Transport::Transport::Base#__convert_to_json
0.44 0.005 0.005 0.000 0.000 2000 <Class::MultiJson::Adapters::JsonGem>#instance
0.44 0.008 0.005 0.000 0.003 1000 JSON::Ext::Generator::State#initialize
0.43 0.012 0.005 0.000 0.007 1000 <Class::MultiJson::Adapter>#blank?
0.43 0.093 0.005 0.000 0.088 1000 MultiJson#dump
0.40 0.008 0.004 0.000 0.004 1000 Array#reject
0.40 0.004 0.004 0.000 0.000 3000 Hash#keys
0.39 1.018 0.004 0.000 1.014 1000 Elasticsearch::Transport::Client#perform_request
0.38 0.004 0.004 0.000 0.000 1000 Module#const_get
0.38 0.004 0.004 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.35 0.004 0.004 0.000 0.000 2000 MultiJson::Options#default_dump_options
0.34 0.004 0.004 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.32 0.003 0.003 0.000 0.000 2000 Kernel#is_a?
0.32 0.003 0.003 0.000 0.000 2998 Kernel#nil?
0.31 0.003 0.003 0.000 0.000 1000 Rational#/
0.31 0.027 0.003 0.000 0.024 1000 Curl::Easy#url=
0.30 0.096 0.003 0.000 0.093 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#dump
0.28 0.003 0.003 0.000 0.000 3000 Curl::Easy#multi
0.28 0.011 0.003 0.000 0.008 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.27 0.004 0.003 0.000 0.001 1000 Time#+
0.26 0.004 0.003 0.000 0.002 1000 Time#<=>
0.25 0.007 0.003 0.000 0.004 1000 Comparable#>
0.25 0.003 0.003 0.000 0.000 2000 Hash#delete
0.24 0.006 0.003 0.000 0.003 1000 Numeric#quo
0.24 0.003 0.003 0.000 0.000 1000 Curl::Easy#last_result
0.23 0.003 0.003 0.000 0.000 2000 Hash#merge!
0.23 0.007 0.002 0.000 0.004 1000 Kernel#dup
0.23 0.004 0.002 0.000 0.001 1000 Rational#to_f
0.19 0.002 0.002 0.000 0.000 1000 String#initialize_copy
0.19 0.002 0.002 0.000 0.000 1000 String#upcase
0.19 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.19 0.002 0.002 0.000 0.000 1000 Curl::Easy#setopt
0.18 0.002 0.002 0.000 0.000 1000 Curl::Easy#header_str
0.18 0.002 0.002 0.000 0.000 1000 String#to_sym
0.17 0.002 0.002 0.000 0.000 1000 Curl::Easy#response_code
0.16 0.002 0.002 0.000 0.000 1000 Integer#to_i
0.15 0.002 0.002 0.000 0.000 1000 Kernel#block_given?
0.14 0.002 0.002 0.000 0.000 1000 Fixnum#<=>
0.14 0.002 0.002 0.000 0.000 1000 Curl::Easy#body_str
0.14 0.002 0.002 0.000 0.000 1000 String#to_s
0.14 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.12 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.02 0.000 0.000 0.000 0.000 1 <Class::Curl::Multi>#new
0.00 0.000 0.000 0.000 0.000 2 NilClass#nil?
0.00 0.000 0.000 0.000 0.000 1 Curl::Easy#multi=
* indicates recursively called methods
PASS (0:00:11.119) test_: Elasticsearch client benchmark with a single-node cluster and the Curb client should search (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Patron adapter should get the cluster info (1000x)
mean: 2.20ms | avg: 2.71ms | max: 29.24ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 2.445514
Sort by: self_time
%self total self wait child calls name
21.59 0.528 0.528 0.000 0.000 3000 Regexp#===
5.13 0.469 0.125 0.000 0.343 6001 *Array#each
4.83 0.223 0.118 0.000 0.105 1000 Patron::Session#handle_request
2.17 0.113 0.053 0.000 0.059 2000 URI::Generic#initialize
2.12 0.687 0.052 0.000 0.635 1000 Patron::Session#request
1.91 0.107 0.047 0.000 0.060 7000 Faraday::Utils::Headers#[]=
1.83 0.075 0.045 0.000 0.030 9000 Faraday::Options#[]
1.63 0.302 0.040 0.000 0.262 9002 Class#new
1.63 0.040 0.040 0.000 0.000 15002 Hash#[]=
1.54 0.063 0.038 0.000 0.026 19000 <Class::Faraday::Options>#options_for
1.49 0.139 0.036 0.000 0.103 8000 Hash#each
1.41 2.405 0.034 0.000 2.371 1000 Elasticsearch::Transport::Transport::Base#perform_request
1.25 0.052 0.031 0.000 0.021 2000 URI::Generic#to_s
1.21 0.030 0.030 0.000 0.000 1000 JSON::Ext::Parser#parse
1.19 0.029 0.029 0.000 0.000 42000 Kernel#class
1.05 0.026 0.026 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.95 0.031 0.023 0.000 0.008 17001 Kernel#respond_to?
0.93 0.023 0.023 0.000 0.000 33000 Symbol#to_sym
0.89 0.129 0.022 0.000 0.108 2000 Kernel#tap
0.89 0.053 0.022 0.000 0.031 6000 Faraday::Env#in_member_set?
0.86 1.409 0.021 0.000 1.388 1000 Faraday::Adapter::Patron#call
0.80 0.554 0.019 0.000 0.534 2000 URI::Parser#split
0.76 0.122 0.019 0.000 0.104 6000 Faraday::Env#[]
0.70 0.017 0.017 0.000 0.000 6000 String#split
0.67 0.016 0.016 0.000 0.000 17000 Module#===
0.67 0.022 0.016 0.000 0.005 2000 Array#collect
0.65 0.016 0.016 0.000 0.000 16000 String#downcase
0.65 0.121 0.016 0.000 0.105 3000 Faraday::Utils::Headers#initialize
0.64 0.101 0.016 0.000 0.086 1000 Patron::Response#initialize
0.62 0.724 0.015 0.000 0.708 2000 URI::Parser#parse
0.61 0.022 0.015 0.000 0.007 8000 Set#include?
0.60 0.033 0.015 0.000 0.019 7000 Kernel#dup
0.60 0.029 0.015 0.000 0.014 4000 URI::Generic#query=
0.55 0.025 0.013 0.000 0.012 9000 Kernel#initialize_dup
0.54 0.027 0.013 0.000 0.014 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.51 0.137 0.012 0.000 0.124 5000 Faraday::Utils::Headers#merge!
0.50 0.012 0.012 0.000 0.000 17002 NilClass#nil?
0.45 0.011 0.011 0.000 0.000 9000 <Class::Faraday::Options>#memoized_attributes
0.45 0.011 0.011 0.000 0.000 8000 Faraday::Response#finished?
0.44 0.600 0.011 0.000 0.590 1000 Faraday::Connection#build_exclusive_url
0.41 0.016 0.010 0.000 0.006 2000 Faraday::Utils::Headers#[]
0.40 0.018 0.010 0.000 0.009 4000 URI::Generic#default_port
0.39 0.010 0.010 0.000 0.000 12999 Kernel#nil?
0.39 0.009 0.009 0.000 0.000 10000 Hash#include?
0.38 0.009 0.009 0.000 0.000 4000 URI::Generic#check_query
0.38 0.009 0.009 0.000 0.000 8000 Symbol#to_s
0.38 0.013 0.009 0.000 0.004 2000 URI::Generic#normalize!
0.37 2.446 0.009 0.000 2.436 1 Elasticsearch::Extensions::Test::Profiling#measure
0.37 0.012 0.009 0.000 0.003 2000 URI::Generic#set_userinfo
0.37 0.019 0.009 0.000 0.010 1000 Faraday::Request#url
0.37 0.014 0.009 0.000 0.005 2000 URI::Generic#set_port
0.37 0.009 0.009 0.000 0.000 11000 Kernel#respond_to_missing?
0.36 0.067 0.009 0.000 0.058 1000 MultiJson::Adapters::JsonCommon#load
0.33 0.099 0.008 0.000 0.091 1000 <Class::MultiJson::Adapter>#load
0.33 0.008 0.008 0.000 0.000 6000 <Class::Faraday::Env>#member_set
0.33 0.008 0.008 0.000 0.000 11000 Hash#fetch
0.32 0.011 0.008 0.000 0.003 4000 URI::Generic#userinfo
0.32 0.008 0.008 0.000 0.000 5000 Hash#initialize_copy
0.31 0.012 0.008 0.000 0.004 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
0.31 0.035 0.008 0.000 0.027 1000 Elasticsearch::Transport::Transport::Base#get_connection
0.31 0.008 0.008 0.000 0.000 2000 MatchData#[]
0.31 0.018 0.008 0.000 0.010 4000 <Class::Time>#now
0.31 0.007 0.007 0.000 0.000 6000 URI::Generic#set_query
0.30 0.029 0.007 0.000 0.022 2000 URI::Generic#normalize
0.30 0.013 0.007 0.000 0.006 3000 Faraday::Response#headers
0.30 0.013 0.007 0.000 0.006 1000 JSON::Ext::Parser#initialize
0.30 0.454 0.007 0.000 0.447 1000 URI::Generic#merge0
0.29 0.616 0.007 0.000 0.608 1000 Faraday::RackBuilder#build_env
0.29 0.076 0.007 0.000 0.069 1000 URI::Generic#==
0.29 0.010 0.007 0.000 0.003 4000 Time#initialize
0.28 0.007 0.007 0.000 0.000 1000 Regexp#match
0.28 0.007 0.007 0.000 0.000 9000 Struct#[]
0.26 0.062 0.006 0.000 0.056 1000 Faraday::Adapter#save_response
0.26 0.006 0.006 0.000 0.000 4000 <Module::URI>#scheme_list
0.24 0.010 0.006 0.000 0.004 2000 Patron::Response#convert_to_default_encoding!
0.24 0.006 0.006 0.000 0.000 9000 Hash#key?
0.24 0.010 0.006 0.000 0.004 2000 Faraday::Response#body
0.24 0.437 0.006 0.000 0.431 1000 Faraday::Response#finish
0.23 0.053 0.006 0.000 0.048 1000 Patron::Response#parse_headers
0.23 0.006 0.006 0.000 0.000 4000 <Class::URI::Generic>#default_port
0.22 0.438 0.005 0.000 0.432 3000 *Faraday::Options#update
0.22 0.005 0.005 0.000 0.000 7000 Kernel#block_given?
0.22 0.005 0.005 0.000 0.000 3000 URI::Generic#absolute?
0.22 2.138 0.005 0.000 2.133 1000 Faraday::Connection#run_request
0.22 0.118 0.005 0.000 0.113 2000 URI::HTTP#initialize
0.22 0.010 0.005 0.000 0.004 2000 Faraday::Response#status
0.21 0.036 0.005 0.000 0.031 2000 URI::Generic#component_ary
0.21 0.012 0.005 0.000 0.007 2000 Hash#merge
0.21 0.009 0.005 0.000 0.004 2000 URI::Generic#component
0.21 2.146 0.005 0.000 2.141 2000 *Proc#call
0.20 0.008 0.005 0.000 0.003 3000 *MultiJson::Options#load_options
0.20 0.016 0.005 0.000 0.011 1000 Patron::Response#determine_charset
0.20 0.012 0.005 0.000 0.007 1000 Time#-
0.20 0.535 0.005 0.000 0.530 1000 URI::Generic#merge
0.20 0.005 0.005 0.000 0.000 7000 Integer#to_i
0.20 0.005 0.005 0.000 0.000 2000 URI::Generic#path_query
0.20 0.436 0.005 0.000 0.432 1000 URI::Parser#convert_to_uri
0.20 0.005 0.005 0.000 0.000 1000 Patron::Request#initialize
0.19 0.005 0.005 0.000 0.000 4000 Struct#initialize
0.19 2.417 0.005 0.000 2.412 1000 BasicObject#instance_eval
0.19 0.007 0.005 0.000 0.003 2000 <Class::#<Class:0x007f80abc08568>>#new
0.18 0.108 0.004 0.000 0.104 1000 MultiJson#load
0.18 0.007 0.004 0.000 0.002 2000 URI::Generic#set_scheme
0.18 0.419 0.004 0.000 0.415 2000 *Faraday::Options#each
0.18 0.004 0.004 0.000 0.000 4000 String#upcase
0.17 0.016 0.004 0.000 0.012 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.17 0.004 0.004 0.000 0.000 3000 Hash#initialize
0.17 2.410 0.004 0.000 2.405 1000 Elasticsearch::Transport::Transport::HTTP::Faraday#perform_request
0.16 2.031 0.004 0.000 2.027 1000 Faraday::RackBuilder#build_response
0.16 0.004 0.004 0.000 0.000 5000 Fixnum#+
0.16 0.004 0.004 0.000 0.000 1000 String#=~
0.16 0.005 0.004 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.15 0.118 0.004 0.000 0.114 2000 <Class::Faraday::Utils::Headers>#from
0.15 0.008 0.004 0.000 0.004 1000 Faraday::Env#needs_body?
0.15 0.005 0.004 0.000 0.002 1000 Faraday::Request#headers=
0.15 0.033 0.004 0.000 0.029 1000 Faraday::Utils::ParamsHash#to_query
0.15 0.004 0.004 0.000 0.000 4000 Hash#[]
0.14 0.006 0.004 0.000 0.002 1000 Faraday::Request#params=
0.14 0.005 0.003 0.000 0.001 1000 Patron::Request#timeout=
0.14 0.005 0.003 0.000 0.001 1000 Patron::Request#max_redirects=
0.13 0.429 0.003 0.000 0.426 2000 *<Class::Faraday::Options>#from
0.13 0.003 0.003 0.000 0.000 3000 Kernel#is_a?
0.13 0.005 0.003 0.000 0.001 1000 Patron::Request#connect_timeout=
0.13 0.004 0.003 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.13 0.003 0.003 0.000 0.000 2000 String#force_encoding
0.12 0.003 0.003 0.000 0.000 2000 URI::Generic#split_userinfo
0.12 0.007 0.003 0.000 0.004 1000 <Class::MultiJson::Adapter>#blank?
0.12 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#status=
0.12 0.048 0.003 0.000 0.045 1000 JSON#parse
0.12 0.005 0.003 0.000 0.002 1000 Array#reject
0.12 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#body
0.12 0.005 0.003 0.000 0.002 1000 MultiJson#current_adapter
0.12 0.004 0.003 0.000 0.001 1000 Patron::Request#action=
0.11 0.003 0.003 0.000 0.000 3000 Kernel#kind_of?
0.11 0.004 0.003 0.000 0.001 1000 Patron::Request#headers=
0.11 0.010 0.003 0.000 0.008 1000 Faraday::Utils::ParamsHash#merge
0.11 0.023 0.003 0.000 0.020 1000 Faraday::Options#merge
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#set_path
0.11 0.004 0.003 0.000 0.001 1000 Patron::Request#upload_data=
0.11 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abc08568>#status
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#set_registry
0.11 0.003 0.003 0.000 0.000 1000 URI::Generic#parser
0.11 0.097 0.003 0.000 0.094 1000 <Class::Faraday::Request>#create
0.11 0.003 0.003 0.000 0.000 2000 Struct#members
0.11 0.003 0.003 0.000 0.000 2000 String#to_i
0.11 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#response_headers
0.11 0.003 0.003 0.000 0.000 3000 NilClass#to_s
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#set_host
0.11 0.003 0.003 0.000 0.001 1000 Faraday::Utils::ParamsHash#update
0.11 0.003 0.003 0.000 0.001 1000 Patron::Request#credentials
0.11 0.003 0.003 0.000 0.000 2000 String#strip!
0.11 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80ac842900>>#new
0.10 0.003 0.003 0.000 0.000 2000 URI::Generic#set_fragment
0.10 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#component
0.10 2.412 0.003 0.000 2.410 1000 Elasticsearch::Transport::Client#perform_request
0.10 0.003 0.003 0.000 0.000 1000 Faraday::Response#initialize
0.10 0.003 0.003 0.000 0.000 2000 URI::Generic#set_opaque
0.10 0.002 0.002 0.000 0.000 1001 Kernel#lambda
0.10 0.002 0.002 0.000 0.000 1000 Array#==
0.10 0.009 0.002 0.000 0.007 1000 String#match
0.10 0.010 0.002 0.000 0.008 1000 Faraday::Adapter#call
0.10 0.111 0.002 0.000 0.108 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.10 0.002 0.002 0.000 0.000 1000 Patron::Request#auth_type=
0.10 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#params
0.10 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80abbfb4a8>#params_encoder
0.09 0.002 0.002 0.000 0.000 1000 Patron::Request#buffer_size=
0.09 0.003 0.002 0.000 0.001 1000 <Class::#<Class:0x007f80abbfb4a8>>#new
0.09 0.003 0.002 0.000 0.001 1000 Faraday::Env#parallel?
0.09 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#headers
0.09 0.099 0.002 0.000 0.097 1000 Faraday::Connection#build_request
0.09 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Response#initialize
0.09 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#response_headers=
0.09 0.004 0.002 0.000 0.002 1000 URI::Generic#relative?
0.09 0.003 0.002 0.000 0.001 1000 Enumerable#map
0.09 0.003 0.002 0.000 0.001 1000 Faraday::Connection#proxy
0.09 0.003 0.002 0.000 0.001 1000 Hash#==
0.09 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.09 0.296 0.002 0.000 0.294 1000 <Module::URI>#parse
0.08 0.003 0.002 0.000 0.001 1000 Time#+
0.08 0.007 0.002 0.000 0.005 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.08 0.002 0.002 0.000 0.000 2000 Fixnum#to_s
0.08 0.002 0.002 0.000 0.000 1000 MultiJson#adapter
0.08 0.002 0.002 0.000 0.000 1000 Faraday::Utils::ParamsHash#merge_query
0.08 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#body=
0.08 0.002 0.002 0.000 0.000 1000 Rational#/
0.07 0.002 0.002 0.000 0.000 2000 <Class::Encoding>#default_internal
0.07 0.003 0.002 0.000 0.001 1000 Time#<=>
0.07 0.006 0.002 0.000 0.004 1000 Kernel#!~
0.07 0.004 0.002 0.000 0.003 1000 Comparable#>
0.07 0.002 0.002 0.000 0.000 1000 Faraday::RackBuilder#app
0.07 0.002 0.002 0.000 0.000 1000 String#strip
0.07 0.002 0.002 0.000 0.000 2000 Kernel#initialize_copy
0.07 0.002 0.002 0.000 0.000 2000 Hash#has_key?
0.07 0.002 0.002 0.000 0.000 2001 Kernel#freeze
0.07 0.002 0.002 0.000 0.000 1000 Faraday::Utils#default_params_encoder
0.07 0.002 0.002 0.000 0.000 2000 Hash#to_hash
0.07 0.002 0.002 0.000 0.000 1000 <Class::MultiJson::Adapters::JsonGem>#instance
0.06 0.002 0.002 0.000 0.000 2000 String#===
0.06 0.002 0.002 0.000 0.001 1000 Rational#to_f
0.06 0.003 0.002 0.000 0.002 1000 Numeric#quo
0.06 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#parallel_manager
0.06 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.06 0.001 0.001 0.000 0.000 2000 #<Class:0x007f80ac842900>#options
0.06 0.001 0.001 0.000 0.000 1000 Patron::Response#charset_regex
0.06 0.001 0.001 0.000 0.000 2000 #<Class:0x007f80abc08568>#method
0.06 0.001 0.001 0.000 0.000 1000 String#initialize_copy
0.05 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method=
0.05 0.001 0.001 0.000 0.000 1000 String#[]
0.05 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers=
0.05 0.001 0.001 0.000 0.000 1000 Struct#initialize_copy
0.05 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#options=
0.05 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#params=
0.05 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request=
0.05 0.001 0.001 0.000 0.000 1000 String#to_sym
0.05 0.001 0.001 0.000 0.000 1000 Array#join
0.05 0.001 0.001 0.000 0.000 1000 String#chop
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#headers=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl=
0.04 0.001 0.001 0.000 0.000 1000 Array#sort!
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl
0.04 0.001 0.001 0.000 0.000 1000 Array#include?
0.04 0.001 0.001 0.000 0.000 1000 Hash#delete
0.04 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.03 0.001 0.001 0.000 0.000 1000 <Class::String>#try_convert
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#open_timeout
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#boundary
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#method
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body
0.03 0.001 0.001 0.000 0.000 1000 Hash#merge!
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#proxy
0.03 0.001 0.001 0.000 0.000 1000 String#to_s
0.03 0.001 0.001 0.000 0.000 1000 Hash#empty?
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#oauth
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#params
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#timeout
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#bind
0.00 0.000 0.000 0.000 0.000 1 Proc#yield
0.00 0.000 0.000 0.000 0.000 1 Patron::Session#initialize
0.00 0.000 0.000 0.000 0.000 1 Faraday::Adapter::Patron#create_session
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#build
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#loaded?
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#lock!
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#to_app
0.00 0.000 0.000 0.000 0.000 1 Mutex#synchronize
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#klass
0.00 0.000 0.000 0.000 0.000 1 Faraday::Middleware#initialize
0.00 0.000 0.000 0.000 0.000 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#new
0.00 0.000 0.000 0.000 0.000 1 Faraday::Adapter::Patron#initialize
0.00 0.000 0.000 0.000 0.000 1 Array#reverse
* indicates recursively called methods
PASS (0:00:14.667) test_: Elasticsearch client benchmark with a single-node cluster and the Patron adapter should get the cluster info (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Patron adapter should index a document (1000x)
mean: 3.51ms | avg: 4.07ms | max: 39.00ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 2.914415
Sort by: self_time
%self total self wait child calls name
20.89 0.609 0.609 0.000 0.000 3000 Regexp#===
5.55 0.290 0.162 0.000 0.129 1000 Patron::Session#handle_request
4.79 0.506 0.140 0.000 0.367 6001 *Array#each
2.13 0.858 0.062 0.000 0.796 1000 Patron::Session#request
2.05 0.128 0.060 0.000 0.068 2000 URI::Generic#initialize
1.85 0.090 0.054 0.000 0.036 10000 Faraday::Options#[]
1.78 0.113 0.052 0.000 0.061 7000 Faraday::Utils::Headers#[]=
1.48 0.043 0.043 0.000 0.000 2000 MatchData#[]
1.43 0.069 0.042 0.000 0.027 19000 <Class::Faraday::Options>#options_for
1.40 2.863 0.041 0.000 2.823 1000 Elasticsearch::Transport::Transport::Base#perform_request
1.32 0.038 0.038 0.000 0.000 15001 Hash#[]=
1.21 0.059 0.035 0.000 0.024 2000 URI::Generic#to_s
1.14 0.033 0.033 0.000 0.000 44000 Kernel#class
0.99 0.312 0.029 0.000 0.283 10002 Class#new
0.97 0.137 0.028 0.000 0.108 8000 Hash#each
0.94 0.068 0.027 0.000 0.041 7000 Faraday::Env#in_member_set?
0.93 1.672 0.027 0.000 1.645 1000 Faraday::Adapter::Patron#call
0.93 0.027 0.027 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.92 0.152 0.027 0.000 0.125 2000 Kernel#tap
0.90 0.035 0.026 0.000 0.009 17000 Kernel#respond_to?
0.89 0.026 0.026 0.000 0.000 35000 Symbol#to_sym
0.85 0.675 0.025 0.000 0.651 2000 URI::Parser#split
0.81 0.155 0.024 0.000 0.132 7000 Faraday::Env#[]
0.76 0.125 0.022 0.000 0.102 1000 Patron::Response#initialize
0.68 0.020 0.020 0.000 0.000 6000 String#split
0.66 0.019 0.019 0.000 0.000 17000 Module#===
0.64 0.019 0.019 0.000 0.000 16000 String#downcase
0.63 0.117 0.018 0.000 0.098 3000 Faraday::Utils::Headers#initialize
0.62 0.024 0.018 0.000 0.006 2000 Array#collect
0.62 0.849 0.018 0.000 0.831 2000 URI::Parser#parse
0.58 0.025 0.017 0.000 0.008 8000 Set#include?
0.57 0.031 0.017 0.000 0.015 10000 Kernel#initialize_dup
0.55 0.037 0.016 0.000 0.021 7000 Kernel#dup
0.54 0.031 0.016 0.000 0.015 4000 URI::Generic#query=
0.51 0.033 0.015 0.000 0.018 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.48 0.133 0.014 0.000 0.120 5000 Faraday::Utils::Headers#merge!
0.47 0.014 0.014 0.000 0.000 17002 NilClass#nil?
0.47 0.014 0.014 0.000 0.000 9000 Symbol#to_s
0.46 0.013 0.013 0.000 0.000 10000 <Class::Faraday::Options>#memoized_attributes
0.45 0.676 0.013 0.000 0.663 1000 Faraday::Connection#build_exclusive_url
0.42 0.012 0.012 0.000 0.000 8000 Faraday::Response#finished?
0.39 0.018 0.011 0.000 0.006 2000 Faraday::Utils::Headers#[]
0.38 2.914 0.011 0.000 2.903 1 Elasticsearch::Extensions::Test::Profiling#measure
0.38 0.021 0.011 0.000 0.010 4000 URI::Generic#default_port
0.37 0.022 0.011 0.000 0.011 1000 Faraday::Request#url
0.36 0.011 0.011 0.000 0.000 10000 Hash#include?
0.36 0.014 0.010 0.000 0.004 2000 URI::Generic#normalize!
0.36 0.010 0.010 0.000 0.000 12999 Kernel#nil?
0.35 0.014 0.010 0.000 0.003 2000 URI::Generic#set_userinfo
0.35 0.015 0.010 0.000 0.005 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
0.35 0.015 0.010 0.000 0.005 2000 URI::Generic#set_port
0.35 0.010 0.010 0.000 0.000 4000 URI::Generic#check_query
0.35 0.026 0.010 0.000 0.016 1000 JSON::Ext::Generator::GeneratorMethods::Hash#to_json
0.35 0.010 0.010 0.000 0.000 1000 Regexp#match
0.34 0.010 0.010 0.000 0.000 7000 <Class::Faraday::Env>#member_set
0.34 0.010 0.010 0.000 0.000 11000 Kernel#respond_to_missing?
0.34 0.010 0.010 0.000 0.000 6000 Hash#initialize_copy
0.33 0.090 0.010 0.000 0.080 1000 <Class::MultiJson::Adapter>#load
0.32 0.051 0.009 0.000 0.042 1000 MultiJson::Adapters::JsonCommon#load
0.31 0.009 0.009 0.000 0.000 1000 JSON::Ext::Parser#parse
0.31 0.009 0.009 0.000 0.000 12000 Hash#key?
0.30 0.021 0.009 0.000 0.012 4000 <Class::Time>#now
0.30 0.042 0.009 0.000 0.033 1000 Elasticsearch::Transport::Transport::Base#get_connection
0.30 0.508 0.009 0.000 0.499 1000 URI::Generic#merge0
0.30 0.009 0.009 0.000 0.000 11000 Hash#fetch
0.30 0.695 0.009 0.000 0.686 1000 Faraday::RackBuilder#build_env
0.29 0.012 0.009 0.000 0.003 4000 URI::Generic#userinfo
0.29 0.019 0.009 0.000 0.011 3000 Hash#merge
0.29 0.015 0.008 0.000 0.007 1000 JSON::Ext::Parser#initialize
0.29 0.008 0.008 0.000 0.000 6000 URI::Generic#set_query
0.29 0.008 0.008 0.000 0.000 10000 Struct#[]
0.28 0.085 0.008 0.000 0.077 1000 URI::Generic#==
0.28 0.032 0.008 0.000 0.024 2000 URI::Generic#normalize
0.27 0.012 0.008 0.000 0.004 4000 Time#initialize
0.27 0.014 0.008 0.000 0.006 3000 Faraday::Response#headers
0.26 0.073 0.008 0.000 0.065 1000 Faraday::Adapter#save_response
0.25 0.054 0.007 0.000 0.047 1000 <Class::MultiJson::Adapter>#dump
0.25 2.879 0.007 0.000 2.872 1000 BasicObject#instance_eval
0.24 2.584 0.007 0.000 2.577 2000 *Proc#call
0.24 0.007 0.007 0.000 0.000 4000 <Module::URI>#scheme_list
0.24 0.471 0.007 0.000 0.465 1000 Faraday::Response#finish
0.23 2.503 0.007 0.000 2.496 1000 Faraday::Connection#run_request
0.23 0.062 0.007 0.000 0.056 1000 Patron::Response#parse_headers
0.23 0.007 0.007 0.000 0.000 7000 Kernel#block_given?
0.22 0.011 0.007 0.000 0.005 2000 Patron::Response#convert_to_default_encoding!
0.22 0.471 0.006 0.000 0.464 3000 *Faraday::Options#update
0.22 0.006 0.006 0.000 0.000 4000 <Class::URI::Generic>#default_port
0.22 0.011 0.006 0.000 0.005 2000 Faraday::Response#body
0.22 0.022 0.006 0.000 0.015 1000 Patron::Response#determine_charset
0.22 0.011 0.006 0.000 0.004 2000 MultiJson#current_adapter
0.21 0.015 0.006 0.000 0.009 1000 Time#-
0.21 0.134 0.006 0.000 0.128 2000 URI::HTTP#initialize
0.21 0.011 0.006 0.000 0.005 2000 Faraday::Response#status
0.20 0.599 0.006 0.000 0.593 1000 URI::Generic#merge
0.20 0.040 0.006 0.000 0.034 2000 URI::Generic#component_ary
0.20 0.006 0.006 0.000 0.000 3000 URI::Generic#absolute?
0.20 0.487 0.006 0.000 0.482 1000 URI::Parser#convert_to_uri
0.20 0.006 0.006 0.000 0.000 7000 Integer#to_i
0.19 0.010 0.006 0.000 0.004 2000 URI::Generic#component
0.19 0.008 0.006 0.000 0.003 2000 <Class::#<Class:0x007f80abc08568>>#new
0.19 0.009 0.006 0.000 0.004 3000 *MultiJson::Options#load_options
0.19 0.006 0.006 0.000 0.000 4000 Struct#initialize
0.19 0.020 0.006 0.000 0.014 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.19 2.869 0.005 0.000 2.863 1000 Elasticsearch::Transport::Transport::HTTP::Faraday#perform_request
0.19 0.005 0.005 0.000 0.000 1000 Patron::Request#initialize
0.19 0.005 0.005 0.000 0.000 4000 Kernel#is_a?
0.18 0.005 0.005 0.000 0.000 2000 URI::Generic#path_query
0.17 2.374 0.005 0.000 2.369 1000 Faraday::RackBuilder#build_response
0.17 0.008 0.005 0.000 0.002 2000 URI::Generic#set_scheme
0.17 0.100 0.005 0.000 0.095 1000 MultiJson#load
0.17 0.005 0.005 0.000 0.000 3000 Hash#initialize
0.17 0.008 0.005 0.000 0.003 2000 MultiJson::Options#dump_options
0.17 0.005 0.005 0.000 0.000 1000 String#=~
0.17 0.449 0.005 0.000 0.445 2000 *Faraday::Options#each
0.16 0.005 0.005 0.000 0.000 5000 Fixnum#+
0.16 0.005 0.005 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.15 0.004 0.004 0.000 0.000 2000 String#encode
0.15 0.039 0.004 0.000 0.035 1000 Faraday::Utils::ParamsHash#to_query
0.15 0.112 0.004 0.000 0.107 2000 <Class::Faraday::Utils::Headers>#from
0.15 0.006 0.004 0.000 0.002 1000 Faraday::Request#headers=
0.15 0.004 0.004 0.000 0.000 2000 MultiJson#adapter
0.15 0.004 0.004 0.000 0.000 4000 String#upcase
0.14 0.004 0.004 0.000 0.000 2000 <Class::MultiJson::Adapters::JsonGem>#instance
0.14 0.005 0.004 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.14 0.007 0.004 0.000 0.002 1000 Faraday::Request#params=
0.14 0.461 0.004 0.000 0.457 2000 *<Class::Faraday::Options>#from
0.14 0.071 0.004 0.000 0.067 1000 Elasticsearch::Transport::Transport::Base#__convert_to_json
0.14 0.031 0.004 0.000 0.027 1000 MultiJson::Adapters::JsonCommon#dump
0.14 0.006 0.004 0.000 0.002 1000 JSON::Ext::Generator::State#initialize
0.14 0.004 0.004 0.000 0.000 2000 String#force_encoding
0.14 0.004 0.004 0.000 0.000 4000 Hash#[]
0.13 0.004 0.004 0.000 0.000 2000 #<Class:0x007f80abc08568>#status=
0.13 0.005 0.004 0.000 0.002 1000 Patron::Request#timeout=
0.13 0.005 0.004 0.000 0.002 1000 Patron::Request#max_redirects=
0.13 0.005 0.004 0.000 0.001 1000 Patron::Request#connect_timeout=
0.12 0.007 0.004 0.000 0.003 1000 Array#reject
0.12 0.030 0.004 0.000 0.027 1000 JSON#parse
0.12 0.063 0.004 0.000 0.059 1000 MultiJson#dump
0.12 0.004 0.003 0.000 0.001 1000 Patron::Request#headers=
0.12 0.012 0.003 0.000 0.009 1000 Faraday::Utils::ParamsHash#merge
0.12 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#body
0.12 0.115 0.003 0.000 0.112 1000 <Class::Faraday::Request>#create
0.12 0.003 0.003 0.000 0.000 1000 URI::Generic#parser
0.11 0.003 0.003 0.000 0.000 2000 MultiJson::Options#default_dump_options
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#split_userinfo
0.11 0.008 0.003 0.000 0.004 1000 <Class::MultiJson::Adapter>#blank?
0.11 0.027 0.003 0.000 0.023 1000 Faraday::Options#merge
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#set_host
0.11 0.008 0.003 0.000 0.004 1000 Patron::Request#action=
0.11 0.003 0.003 0.000 0.000 3000 Kernel#kind_of?
0.11 0.003 0.003 0.000 0.000 2000 Struct#members
0.11 0.013 0.003 0.000 0.010 1000 String#match
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#set_path
0.11 2.872 0.003 0.000 2.869 1000 Elasticsearch::Transport::Client#perform_request
0.11 0.003 0.003 0.000 0.000 2000 URI::Generic#set_registry
0.11 0.003 0.003 0.000 0.000 2000 String#strip!
0.11 0.003 0.003 0.000 0.000 1001 Kernel#lambda
0.11 0.103 0.003 0.000 0.100 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.11 0.004 0.003 0.000 0.001 1000 Patron::Request#upload_data=
0.11 0.003 0.003 0.000 0.000 1000 Array#==
0.11 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abbfb4a8>#params_encoder
0.10 0.003 0.003 0.000 0.000 2000 URI::Generic#set_fragment
0.10 0.004 0.003 0.000 0.001 1000 Patron::Request#credentials
0.10 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#response_headers
0.10 0.006 0.003 0.000 0.003 1000 Faraday::Adapter#call
0.10 0.004 0.003 0.000 0.001 1000 Enumerable#map
0.10 0.004 0.003 0.000 0.001 1000 Faraday::Utils::ParamsHash#update
0.10 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abc08568>#status
0.10 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.10 0.003 0.003 0.000 0.000 2000 URI::Generic#set_opaque
0.10 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80ac842900>>#new
0.10 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#component
0.10 0.003 0.003 0.000 0.000 2000 String#to_i
0.10 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80abbfb4a8>>#new
0.10 0.003 0.003 0.000 0.000 3000 NilClass#to_s
0.10 0.004 0.003 0.000 0.001 1000 Hash#==
0.10 0.003 0.003 0.000 0.000 1000 Faraday::Response#initialize
0.10 0.004 0.003 0.000 0.001 1000 Faraday::Env#parallel?
0.10 0.003 0.003 0.000 0.000 1000 Patron::Request#auth_type=
0.10 0.066 0.003 0.000 0.063 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#dump
0.10 0.004 0.003 0.000 0.002 1000 Array#include?
0.09 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80ac842900>#headers
0.09 0.118 0.003 0.000 0.115 1000 Faraday::Connection#build_request
0.09 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80ac842900>#params
0.09 0.003 0.003 0.000 0.000 2000 Fixnum#to_s
0.09 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Response#initialize
0.09 0.373 0.003 0.000 0.370 1000 <Module::URI>#parse
0.09 0.009 0.003 0.000 0.007 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.09 0.003 0.003 0.000 0.000 1000 Patron::Request#buffer_size=
0.09 0.003 0.003 0.000 0.000 1000 Rational#/
0.09 0.003 0.003 0.000 0.001 1000 Faraday::Env#needs_body?
0.09 0.005 0.003 0.000 0.002 1000 URI::Generic#relative?
0.09 0.003 0.003 0.000 0.001 1000 Faraday::Connection#proxy
0.09 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#response_headers=
0.08 0.003 0.002 0.000 0.001 1000 Time#+
0.08 0.002 0.002 0.000 0.000 2000 Hash#delete
0.08 0.002 0.002 0.000 0.000 1000 Faraday::Utils::ParamsHash#merge_query
0.08 0.003 0.002 0.000 0.001 1000 Time#<=>
0.07 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#body=
0.07 0.002 0.002 0.000 0.000 2001 Kernel#freeze
0.07 0.002 0.002 0.000 0.000 1000 Faraday::RackBuilder#app
0.07 0.002 0.002 0.000 0.000 1000 String#strip
0.07 0.007 0.002 0.000 0.005 1000 Kernel#!~
0.07 0.002 0.002 0.000 0.000 2000 String#to_s
0.07 0.005 0.002 0.000 0.003 1000 Numeric#quo
0.07 0.005 0.002 0.000 0.003 1000 Comparable#>
0.07 0.002 0.002 0.000 0.000 2000 Hash#has_key?
0.07 0.002 0.002 0.000 0.000 1000 Faraday::Utils#default_params_encoder
0.07 0.002 0.002 0.000 0.000 2000 String#===
0.07 0.003 0.002 0.000 0.001 1000 Rational#to_f
0.07 0.002 0.002 0.000 0.000 2000 Kernel#initialize_copy
0.06 0.002 0.002 0.000 0.000 2000 <Class::Encoding>#default_internal
0.06 0.002 0.002 0.000 0.000 1000 Patron::Response#charset_regex
0.06 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#parallel_manager
0.06 0.002 0.002 0.000 0.000 2000 Hash#to_hash
0.06 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80ac842900>#options
0.06 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80ac842900>#options=
0.06 0.002 0.002 0.000 0.000 2000 Symbol#==
0.06 0.002 0.002 0.000 0.000 2000 Hash#merge!
0.06 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.06 0.002 0.002 0.000 0.000 1000 String#[]
0.06 0.002 0.002 0.000 0.000 1000 String#initialize_copy
0.06 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80abc08568>#method=
0.05 0.002 0.002 0.000 0.000 1000 String#to_sym
0.05 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#params=
0.05 0.001 0.001 0.000 0.000 1000 Hash#keys
0.05 0.001 0.001 0.000 0.000 1000 Struct#initialize_copy
0.05 0.001 0.001 0.000 0.000 1000 String#chop
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers=
0.04 0.001 0.001 0.000 0.000 1000 Array#join
0.04 0.001 0.001 0.000 0.000 1000 Array#sort!
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#method
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#open_timeout
0.04 0.001 0.001 0.000 0.000 1000 <Class::String>#try_convert
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#headers=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path=
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body=
0.04 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl
0.04 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#boundary
0.03 0.001 0.001 0.000 0.000 1000 Hash#empty?
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#params
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#oauth
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#proxy
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#timeout
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#bind
0.00 0.000 0.000 0.000 0.000 1 Faraday::Adapter::Patron#create_session
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#build
0.00 0.000 0.000 0.000 0.000 1 Patron::Session#initialize
0.00 0.000 0.000 0.000 0.000 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#new
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#to_app
0.00 0.000 0.000 0.000 0.000 1 Faraday::Adapter::Patron#initialize
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#lock!
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#loaded?
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#klass
0.00 0.000 0.000 0.000 0.000 1 Faraday::Middleware#initialize
0.00 0.000 0.000 0.000 0.000 1 Array#reverse
* indicates recursively called methods
PASS (0:00:19.493) test_: Elasticsearch client benchmark with a single-node cluster and the Patron adapter should index a document (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Patron adapter should search (1000x)
mean: 4.96ms | avg: 5.37ms | max: 63.64ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 3.709734
Sort by: self_time
%self total self wait child calls name
20.42 0.758 0.758 0.000 0.000 3000 Regexp#===
6.40 0.395 0.238 0.000 0.157 1000 Patron::Session#handle_request
5.12 0.190 0.190 0.000 0.000 1000 JSON::Ext::Parser#parse
4.52 0.574 0.168 0.000 0.406 6001 *Array#each
2.06 1.122 0.076 0.000 1.046 1000 Patron::Session#request
1.98 0.101 0.074 0.000 0.027 2000 URI::Generic#to_s
1.95 0.152 0.072 0.000 0.079 2000 URI::Generic#initialize
1.77 0.108 0.066 0.000 0.042 10000 Faraday::Options#[]
1.64 0.110 0.061 0.000 0.049 7000 Faraday::Utils::Headers#[]=
1.36 3.648 0.050 0.000 3.597 1000 Elasticsearch::Transport::Transport::Base#perform_request
1.33 0.082 0.049 0.000 0.032 19000 <Class::Faraday::Options>#options_for
1.02 0.038 0.038 0.000 0.000 44000 Kernel#class
0.97 0.347 0.036 0.000 0.311 10002 Class#new
0.91 0.137 0.034 0.000 0.104 8000 Hash#each
0.88 2.062 0.033 0.000 2.029 1000 Faraday::Adapter::Patron#call
0.88 0.080 0.033 0.000 0.047 7000 Faraday::Env#in_member_set?
0.87 0.180 0.032 0.000 0.148 2000 Kernel#tap
0.86 0.032 0.032 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.83 0.041 0.031 0.000 0.010 17000 Kernel#respond_to?
0.82 0.030 0.030 0.000 0.000 35000 Symbol#to_sym
0.78 0.795 0.029 0.000 0.766 2000 URI::Parser#split
0.76 0.185 0.028 0.000 0.157 7000 Faraday::Env#[]
0.73 0.153 0.027 0.000 0.125 1000 Patron::Response#initialize
0.65 0.024 0.024 0.000 0.000 6000 String#split
0.63 0.023 0.023 0.000 0.000 17000 Module#===
0.61 0.023 0.023 0.000 0.000 15001 Hash#[]=
0.60 0.029 0.022 0.000 0.007 2000 Array#collect
0.58 1.002 0.021 0.000 0.980 2000 URI::Parser#parse
0.57 0.021 0.021 0.000 0.000 16000 String#downcase
0.57 0.113 0.021 0.000 0.092 3000 Faraday::Utils::Headers#initialize
0.53 0.029 0.020 0.000 0.009 8000 Set#include?
0.53 0.037 0.020 0.000 0.017 10000 Kernel#initialize_dup
0.53 0.044 0.020 0.000 0.024 7000 Kernel#dup
0.52 0.019 0.019 0.000 0.000 11000 Symbol#to_s
0.51 0.037 0.019 0.000 0.018 4000 URI::Generic#query=
0.49 0.045 0.018 0.000 0.027 1000 JSON::Ext::Generator::GeneratorMethods::Hash#to_json
0.48 0.038 0.018 0.000 0.020 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.44 0.134 0.016 0.000 0.117 5000 Faraday::Utils::Headers#merge!
0.43 0.016 0.016 0.000 0.000 10000 <Class::Faraday::Options>#memoized_attributes
0.43 0.016 0.016 0.000 0.000 17002 NilClass#nil?
0.42 0.778 0.016 0.000 0.762 1000 Faraday::Connection#build_exclusive_url
0.39 0.014 0.014 0.000 0.000 8000 Faraday::Response#finished?
0.38 0.021 0.014 0.000 0.007 2000 Faraday::Utils::Headers#[]
0.36 0.243 0.013 0.000 0.229 1000 MultiJson::Adapters::JsonCommon#load
0.35 3.710 0.013 0.000 3.697 1 Elasticsearch::Extensions::Test::Profiling#measure
0.35 0.024 0.013 0.000 0.011 4000 URI::Generic#default_port
0.35 0.026 0.013 0.000 0.013 1000 Faraday::Request#url
0.35 0.013 0.013 0.000 0.000 1000 Regexp#match
0.33 0.012 0.012 0.000 0.000 10000 Hash#include?
0.33 0.017 0.012 0.000 0.005 2000 URI::Generic#normalize!
0.33 0.018 0.012 0.000 0.006 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
0.33 0.012 0.012 0.000 0.000 4000 URI::Generic#check_query
0.32 0.018 0.012 0.000 0.006 2000 URI::Generic#set_port
0.32 0.016 0.012 0.000 0.004 2000 URI::Generic#set_userinfo
0.32 0.289 0.012 0.000 0.277 1000 <Class::MultiJson::Adapter>#load
0.32 0.012 0.012 0.000 0.000 12999 Kernel#nil?
0.32 0.012 0.012 0.000 0.000 7000 <Class::Faraday::Env>#member_set
0.31 0.012 0.012 0.000 0.000 6000 Hash#initialize_copy
0.31 0.011 0.011 0.000 0.000 11000 Kernel#respond_to_missing?
0.29 0.024 0.011 0.000 0.013 3000 Hash#merge
0.29 0.578 0.011 0.000 0.567 1000 URI::Generic#merge0
0.29 0.011 0.011 0.000 0.000 2000 MatchData#[]
0.29 0.011 0.011 0.000 0.000 12000 Hash#key?
0.28 0.800 0.011 0.000 0.789 1000 Faraday::RackBuilder#build_env
0.28 0.024 0.010 0.000 0.014 4000 <Class::Time>#now
0.28 0.049 0.010 0.000 0.038 1000 Elasticsearch::Transport::Transport::Base#get_connection
0.27 0.018 0.010 0.000 0.008 1000 JSON::Ext::Parser#initialize
0.27 0.010 0.010 0.000 0.000 11000 Hash#fetch
0.27 0.014 0.010 0.000 0.004 4000 URI::Generic#userinfo
0.27 0.102 0.010 0.000 0.092 1000 URI::Generic#==
0.27 0.010 0.010 0.000 0.000 10000 Struct#[]
0.26 3.668 0.010 0.000 3.658 1000 BasicObject#instance_eval
0.26 0.010 0.010 0.000 0.000 6000 URI::Generic#set_query
0.26 0.038 0.010 0.000 0.029 2000 URI::Generic#normalize
0.26 0.014 0.010 0.000 0.004 4000 Time#initialize
0.26 0.017 0.010 0.000 0.007 3000 Faraday::Response#headers
0.25 0.028 0.009 0.000 0.019 1000 Patron::Response#determine_charset
0.25 0.088 0.009 0.000 0.078 1000 Faraday::Adapter#save_response
0.24 3.133 0.009 0.000 3.124 2000 *Proc#call
0.23 0.078 0.009 0.000 0.070 1000 <Class::MultiJson::Adapter>#dump
0.23 0.008 0.008 0.000 0.000 4000 String#encode
0.23 0.531 0.008 0.000 0.523 1000 Faraday::Response#finish
0.22 0.008 0.008 0.000 0.000 4000 <Module::URI>#scheme_list
0.22 3.022 0.008 0.000 3.014 1000 Faraday::Connection#run_request
0.22 0.074 0.008 0.000 0.066 1000 Patron::Response#parse_headers
0.21 0.013 0.008 0.000 0.005 2000 Patron::Response#convert_to_default_encoding!
0.21 0.018 0.008 0.000 0.010 1000 Time#-
0.21 0.013 0.008 0.000 0.005 2000 MultiJson#current_adapter
0.21 0.013 0.008 0.000 0.006 2000 Faraday::Response#body
0.21 0.531 0.008 0.000 0.523 3000 *Faraday::Options#update
0.20 0.008 0.008 0.000 0.000 4000 <Class::URI::Generic>#default_port
0.20 0.159 0.007 0.000 0.152 2000 URI::HTTP#initialize
0.20 0.007 0.007 0.000 0.000 7000 Kernel#block_given?
0.19 0.013 0.007 0.000 0.006 2000 Faraday::Response#status
0.19 0.554 0.007 0.000 0.547 1000 URI::Parser#convert_to_uri
0.19 0.687 0.007 0.000 0.680 1000 URI::Generic#merge
0.19 0.007 0.007 0.000 0.000 1000 Patron::Request#initialize
0.19 0.048 0.007 0.000 0.041 2000 URI::Generic#component_ary
0.18 0.010 0.007 0.000 0.003 2000 <Class::#<Class:0x007f80abc08568>>#new
0.18 0.007 0.007 0.000 0.000 3000 URI::Generic#absolute?
0.18 0.012 0.007 0.000 0.005 2000 URI::Generic#component
0.18 0.011 0.007 0.000 0.005 3000 *MultiJson::Options#load_options
0.18 3.654 0.007 0.000 3.648 1000 Elasticsearch::Transport::Transport::HTTP::Faraday#perform_request
0.17 0.006 0.006 0.000 0.000 4000 Struct#initialize
0.17 0.006 0.006 0.000 0.000 4000 Kernel#is_a?
0.17 0.023 0.006 0.000 0.017 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.16 0.006 0.006 0.000 0.000 7000 Integer#to_i
0.16 0.006 0.006 0.000 0.000 2000 URI::Generic#path_query
0.16 0.302 0.006 0.000 0.296 1000 MultiJson#load
0.16 2.870 0.006 0.000 2.864 1000 Faraday::RackBuilder#build_response
0.16 0.006 0.006 0.000 0.000 1000 String#=~
0.16 0.006 0.006 0.000 0.000 3000 Hash#initialize
0.16 0.010 0.006 0.000 0.004 2000 MultiJson::Options#dump_options
0.16 0.505 0.006 0.000 0.499 2000 *Faraday::Options#each
0.16 0.009 0.006 0.000 0.003 2000 URI::Generic#set_scheme
0.14 0.006 0.005 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.14 0.005 0.005 0.000 0.000 4000 String#upcase
0.14 0.005 0.005 0.000 0.000 5000 Fixnum#+
0.14 0.005 0.005 0.000 0.000 2000 MultiJson#adapter
0.14 0.046 0.005 0.000 0.040 1000 Faraday::Utils::ParamsHash#to_query
0.14 0.006 0.005 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.14 0.007 0.005 0.000 0.002 1000 Faraday::Request#headers=
0.14 0.107 0.005 0.000 0.102 2000 <Class::Faraday::Utils::Headers>#from
0.13 0.098 0.005 0.000 0.093 1000 Elasticsearch::Transport::Transport::Base#__convert_to_json
0.13 0.520 0.005 0.000 0.515 2000 *<Class::Faraday::Options>#from
0.13 0.007 0.005 0.000 0.003 1000 Faraday::Request#params=
0.13 0.051 0.005 0.000 0.046 1000 MultiJson::Adapters::JsonCommon#dump
0.13 0.005 0.005 0.000 0.000 2000 #<Class:0x007f80abc08568>#status=
0.13 0.007 0.005 0.000 0.003 1000 JSON::Ext::Generator::State#initialize
0.12 0.216 0.005 0.000 0.212 1000 JSON#parse
0.12 0.006 0.005 0.000 0.002 1000 Patron::Request#timeout=
0.12 0.006 0.005 0.000 0.002 1000 Patron::Request#max_redirects=
0.12 0.005 0.005 0.000 0.000 2000 String#force_encoding
0.12 0.005 0.005 0.000 0.000 2000 <Class::MultiJson::Adapters::JsonGem>#instance
0.12 0.004 0.004 0.000 0.000 4000 Hash#[]
0.12 0.006 0.004 0.000 0.002 1000 Patron::Request#connect_timeout=
0.11 0.007 0.004 0.000 0.003 1000 Array#reject
0.11 0.088 0.004 0.000 0.084 1000 MultiJson#dump
0.11 0.009 0.004 0.000 0.005 1000 Patron::Request#action=
0.11 0.005 0.004 0.000 0.001 1000 Patron::Request#headers=
0.11 0.004 0.004 0.000 0.000 3000 Hash#keys
0.11 0.014 0.004 0.000 0.010 1000 Faraday::Utils::ParamsHash#merge
0.11 0.004 0.004 0.000 0.000 4000 #<Class:0x007f80abc08568>#body
0.11 0.009 0.004 0.000 0.005 1000 <Class::MultiJson::Adapter>#blank?
0.10 0.031 0.004 0.000 0.028 1000 Faraday::Options#merge
0.10 0.005 0.004 0.000 0.002 1000 Patron::Request#upload_data=
0.10 0.005 0.004 0.000 0.002 1000 <Class::#<Class:0x007f80ac842900>>#new
0.10 0.017 0.004 0.000 0.013 1000 String#match
0.10 3.658 0.004 0.000 3.654 1000 Elasticsearch::Transport::Client#perform_request
0.10 0.136 0.004 0.000 0.133 1000 <Class::Faraday::Request>#create
0.10 0.004 0.004 0.000 0.000 1000 URI::Generic#parser
0.10 0.004 0.004 0.000 0.000 3000 Kernel#kind_of?
0.10 0.004 0.004 0.000 0.000 1001 Kernel#lambda
0.10 0.004 0.004 0.000 0.000 1000 Array#==
0.10 0.005 0.004 0.000 0.001 1000 Patron::Request#credentials
0.10 0.004 0.004 0.000 0.000 2000 MultiJson::Options#default_dump_options
0.10 0.004 0.004 0.000 0.000 2000 URI::Generic#split_userinfo
0.10 0.004 0.004 0.000 0.000 2000 URI::Generic#set_path
0.10 0.004 0.004 0.000 0.000 2000 URI::Generic#set_registry
0.10 0.007 0.004 0.000 0.004 1000 Faraday::Adapter#call
0.10 0.004 0.004 0.000 0.000 2000 String#to_i
0.10 0.005 0.004 0.000 0.001 1000 <Class::#<Class:0x007f80abbfb4a8>>#new
0.10 0.004 0.004 0.000 0.000 3000 #<Class:0x007f80abc08568>#status
0.10 0.306 0.004 0.000 0.302 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.09 0.004 0.004 0.000 0.000 2000 String#strip!
0.09 0.003 0.003 0.000 0.000 2000 URI::Generic#set_fragment
0.09 0.004 0.003 0.000 0.001 1000 Faraday::Utils::ParamsHash#update
0.09 0.003 0.003 0.000 0.000 2000 Struct#members
0.09 0.003 0.003 0.000 0.000 2000 URI::Generic#set_opaque
0.09 0.003 0.003 0.000 0.000 1000 Patron::Request#auth_type=
0.09 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#component
0.09 0.003 0.003 0.000 0.000 2000 URI::Generic#set_host
0.09 0.004 0.003 0.000 0.001 1000 Faraday::Env#parallel?
0.09 0.003 0.003 0.000 0.000 1000 Faraday::Response#initialize
0.09 0.003 0.003 0.000 0.000 3000 NilClass#to_s
0.09 0.003 0.003 0.000 0.000 1000 Rational#/
0.09 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#response_headers
0.09 0.005 0.003 0.000 0.002 1000 Array#include?
0.09 0.004 0.003 0.000 0.001 1000 Enumerable#map
0.09 0.091 0.003 0.000 0.088 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#dump
0.09 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.09 0.140 0.003 0.000 0.136 1000 Faraday::Connection#build_request
0.09 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abbfb4a8>#params_encoder
0.08 0.003 0.003 0.000 0.000 1000 Patron::Request#buffer_size=
0.08 0.004 0.003 0.000 0.001 1000 Faraday::Env#needs_body?
0.08 0.004 0.003 0.000 0.001 1000 Hash#==
0.08 0.461 0.003 0.000 0.458 1000 <Module::URI>#parse
0.08 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Response#initialize
0.08 0.003 0.003 0.000 0.000 2000 Fixnum#to_s
0.08 0.004 0.003 0.000 0.001 1000 Faraday::Connection#proxy
0.08 0.006 0.003 0.000 0.003 1000 URI::Generic#relative?
0.08 0.010 0.003 0.000 0.007 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.08 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80ac842900>#params
0.08 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80ac842900>#headers
0.08 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#response_headers=
0.08 0.004 0.003 0.000 0.001 1000 Time#+
0.07 0.003 0.003 0.000 0.000 2000 Hash#delete
0.07 0.004 0.003 0.000 0.001 1000 Time#<=>
0.07 0.003 0.003 0.000 0.000 1000 Faraday::Utils::ParamsHash#merge_query
0.07 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#body=
0.07 0.002 0.002 0.000 0.000 1000 String#strip
0.07 0.003 0.002 0.000 0.000 1000 Faraday::RackBuilder#app
0.06 0.008 0.002 0.000 0.006 1000 Kernel#!~
0.06 0.006 0.002 0.000 0.004 1000 Comparable#>
0.06 0.002 0.002 0.000 0.000 2001 Kernel#freeze
0.06 0.006 0.002 0.000 0.003 1000 Numeric#quo
0.06 0.002 0.002 0.000 0.000 1000 Faraday::Utils#default_params_encoder
0.06 0.002 0.002 0.000 0.000 1000 Patron::Response#charset_regex
0.06 0.002 0.002 0.000 0.000 2000 Hash#has_key?
0.06 0.003 0.002 0.000 0.001 1000 Rational#to_f
0.06 0.002 0.002 0.000 0.000 2000 <Class::Encoding>#default_internal
0.06 0.002 0.002 0.000 0.000 2000 String#===
0.06 0.002 0.002 0.000 0.000 2000 Kernel#initialize_copy
0.06 0.002 0.002 0.000 0.000 2000 Hash#to_hash
0.06 0.002 0.002 0.000 0.000 2000 String#to_s
0.05 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80ac842900>#options
0.05 0.002 0.002 0.000 0.000 2000 Hash#merge!
0.05 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#parallel_manager
0.05 0.002 0.002 0.000 0.000 1000 String#[]
0.05 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.05 0.002 0.002 0.000 0.000 1000 String#to_sym
0.05 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80ac842900>#options=
0.05 0.002 0.002 0.000 0.000 2000 Symbol#==
0.05 0.002 0.002 0.000 0.000 1000 String#initialize_copy
0.05 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80abc08568>#method=
0.04 0.002 0.002 0.000 0.000 1000 String#chop
0.04 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers=
0.04 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80ac842900>#params=
0.04 0.002 0.002 0.000 0.000 1000 Struct#initialize_copy
0.04 0.002 0.002 0.000 0.000 1000 Array#join
0.04 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request=
0.04 0.001 0.001 0.000 0.000 1000 Array#sort!
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#method
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#headers=
0.03 0.001 0.001 0.000 0.000 1000 <Class::String>#try_convert
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#open_timeout
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body=
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#boundary
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method
0.03 0.001 0.001 0.000 0.000 1000 Hash#empty?
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#bind
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#proxy
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#params
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#oauth
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#timeout
0.00 0.000 0.000 0.000 0.000 1 Faraday::Adapter::Patron#create_session
0.00 0.000 0.000 0.000 0.000 1 Patron::Session#initialize
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#build
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#lock!
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#new
0.00 0.000 0.000 0.000 0.000 1 Faraday::Adapter::Patron#initialize
0.00 0.000 0.000 0.000 0.000 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#loaded?
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#to_app
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#klass
0.00 0.000 0.000 0.000 0.000 1 Faraday::Middleware#initialize
0.00 0.000 0.000 0.000 0.000 1 Array#reverse
* indicates recursively called methods
PASS (0:00:25.562) test_: Elasticsearch client benchmark with a single-node cluster and the Patron adapter should search (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Typhoeus client should get the cluster info (1000x)
mean: 3.08ms | avg: 3.47ms | max: 25.76ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 3.276303
Sort by: self_time
%self total self wait child calls name
4.47 0.370 0.146 0.000 0.224 8000 Ethon::Curls::Options#set_option
3.00 0.455 0.098 0.000 0.357 1000 <Module::Ethon::Curl>#easy_perform
2.84 1.407 0.093 0.000 1.314 12002 *Array#each
2.79 0.154 0.091 0.000 0.063 20000 Faraday::Options#[]
2.18 0.071 0.071 0.000 0.000 46000 Symbol#to_s
1.74 0.113 0.057 0.000 0.056 22000 <Module::Ethon::Curl>#easy_getinfo
1.65 0.158 0.054 0.000 0.104 12000 Ethon::Curls::Infos#get_info_double
1.54 0.165 0.050 0.000 0.115 9000 Hash#each
1.52 0.056 0.050 0.000 0.006 30000 FFI::Enum#to_native
1.44 0.078 0.047 0.000 0.031 4001 Array#reject
1.36 0.044 0.044 0.000 0.000 49000 Hash#[]=
1.23 0.040 0.040 0.000 0.000 32000 Ethon::Easy::Operations#handle
1.19 0.039 0.039 0.000 0.000 31000 FFI::Enum#from_native
1.18 0.039 0.039 0.000 0.000 61000 Symbol#to_sym
1.15 0.272 0.038 0.000 0.235 19003 *Class#new
1.15 0.038 0.038 0.000 0.000 5000 Typhoeus::EasyFactory#renamed_options
1.14 0.091 0.037 0.000 0.054 11000 Faraday::Env#in_member_set?
1.14 0.037 0.037 0.000 0.000 57000 Symbol#==
1.04 0.034 0.034 0.000 0.000 56001 Kernel#class
1.04 0.057 0.034 0.000 0.023 19000 <Class::Faraday::Options>#options_for
0.98 0.209 0.032 0.000 0.177 11000 Faraday::Env#[]
0.95 3.240 0.031 0.000 3.209 1000 Elasticsearch::Transport::Transport::Base#perform_request
0.93 0.086 0.031 0.000 0.055 4000 Ethon::Curls::Infos#get_info_string
0.92 0.036 0.030 0.000 0.006 26001 Kernel#respond_to?
0.91 0.055 0.030 0.000 0.025 5000 Faraday::Utils::Headers#[]=
0.91 0.030 0.030 0.000 0.000 24000 Ethon::Curls::Infos#double_ptr
0.91 0.054 0.030 0.000 0.025 9000 Kernel#dup
0.85 0.028 0.028 0.000 0.000 30000 String#downcase
0.85 0.084 0.028 0.000 0.056 6000 Ethon::Curls::Infos#get_info_long
0.79 0.055 0.026 0.000 0.029 1000 URI::Generic#initialize
0.74 0.024 0.024 0.000 0.000 41013 NilClass#nil?
0.74 0.024 0.024 0.000 0.000 3001 Hash#initialize
0.74 0.034 0.024 0.000 0.010 14000 Set#include?
0.72 0.024 0.024 0.000 0.000 20000 <Class::Faraday::Options>#memoized_attributes
0.72 0.028 0.024 0.000 0.005 2000 <Class::Ethon::Easy::Mirror>#informations_to_mirror
0.69 0.023 0.022 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.68 0.033 0.022 0.000 0.011 9000 FFI::Pointer#read_string
0.67 0.173 0.022 0.000 0.151 3000 *Kernel#tap
0.61 0.286 0.020 0.000 0.267 1000 Hash#each_pair
0.55 0.018 0.018 0.000 0.000 23000 Hash#include?
0.55 0.018 0.018 0.000 0.000 26000 Kernel#nil?
0.54 0.018 0.018 0.000 0.000 4000 String#split
0.53 0.017 0.017 0.000 0.000 4001 Struct#members
0.48 0.450 0.016 0.000 0.434 1000 Faraday::Adapter::Typhoeus#request
0.47 0.032 0.015 0.000 0.016 11000 Kernel#initialize_dup
0.46 0.088 0.015 0.000 0.073 3000 Faraday::Utils::Headers#initialize
0.46 0.015 0.015 0.000 0.000 8000 Ethon::Curls::Options#easy_options
0.46 0.024 0.015 0.000 0.009 9000 Array#include?
0.46 0.025 0.015 0.000 0.010 1000 URI::Generic#to_s
0.45 0.020 0.015 0.000 0.005 2000 Array#collect
0.45 0.015 0.015 0.000 0.000 20000 Struct#[]
0.45 0.015 0.015 0.000 0.000 12000 Ethon::Curls::Infos#long_ptr
0.45 0.183 0.015 0.000 0.168 1000 Faraday::Adapter::Typhoeus#configure_ssl
0.42 0.014 0.014 0.000 0.000 17000 Kernel#is_a?
0.41 0.013 0.013 0.000 0.000 16000 Module#===
0.40 0.013 0.013 0.000 0.000 11000 <Class::Faraday::Env>#member_set
0.39 0.020 0.013 0.000 0.007 3000 Faraday::Utils::Headers#[]
0.37 0.026 0.012 0.000 0.013 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.37 0.012 0.012 0.000 0.000 17000 Kernel#block_given?
0.37 0.017 0.012 0.000 0.005 3000 <Module::FFI>#find_type
0.37 0.012 0.012 0.000 0.000 7000 Hash#initialize_copy
0.35 0.024 0.012 0.000 0.012 1000 FFI::AutoPointer#initialize
0.35 0.144 0.012 0.000 0.133 1000 Ethon::Easy::Callbacks#set_callbacks
0.35 0.011 0.011 0.000 0.000 1000 JSON::Ext::Parser#parse
0.33 0.020 0.011 0.000 0.009 1000 Faraday::Options#fetch
0.31 0.010 0.010 0.000 0.000 8000 Ethon::Curls::Infos#string_ptr
0.31 0.012 0.010 0.000 0.002 3000 Typhoeus::Request::Callbacks::Types#on_complete
0.30 0.010 0.010 0.000 0.000 8000 Faraday::Response#finished?
0.30 0.251 0.010 0.000 0.241 1000 Faraday::Connection#build_exclusive_url
0.29 0.050 0.009 0.000 0.041 4000 Faraday::Utils::Headers#merge!
0.28 0.382 0.009 0.000 0.373 1000 Ethon::Easy::Http::Actionable#setup
0.28 0.542 0.009 0.000 0.533 2000 <Class::Ethon::Easy::Mirror>#from_easy
0.28 0.012 0.009 0.000 0.003 4000 Typhoeus::Response::Informations#response_code
0.27 0.022 0.009 0.000 0.013 3000 <Module::Ethon::Curl>#easy_setopt_long
0.27 0.202 0.009 0.000 0.193 1000 Typhoeus::Request::Callbacks#execute_callbacks
0.26 0.012 0.009 0.000 0.003 2000 URI::Generic#normalize!
0.26 0.019 0.009 0.000 0.010 1000 URI::Parser#split
0.26 0.018 0.008 0.000 0.009 1000 Faraday::Request#url
0.26 1.148 0.008 0.000 1.140 1000 Ethon::Easy::Operations#perform
0.25 0.021 0.008 0.000 0.013 1000 Typhoeus::EasyFactory#set_callback
0.25 0.008 0.008 0.000 0.000 2000 Regexp#===
0.25 3.276 0.008 0.000 3.268 1 Elasticsearch::Extensions::Test::Profiling#measure
0.25 0.010 0.008 0.000 0.002 2000 Typhoeus::Request::Callbacks::Types#on_headers
0.24 0.045 0.008 0.000 0.037 1000 MultiJson::Adapters::JsonCommon#load
0.24 0.016 0.008 0.000 0.008 1000 Typhoeus::Request#set_defaults
0.24 0.008 0.008 0.000 0.000 12000 FFI::AbstractMemory#read_double
0.24 0.013 0.008 0.000 0.005 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
0.24 0.157 0.008 0.000 0.149 1000 Ethon::Easy#reset
0.23 0.017 0.008 0.000 0.009 2000 <Module::Ethon::Curl>#easy_setopt_callback
0.23 0.093 0.007 0.000 0.086 1000 URI::Parser#parse
0.23 0.027 0.007 0.000 0.019 3000 <Module::FFI>#type_size
0.23 0.075 0.007 0.000 0.067 1000 <Class::MultiJson::Adapter>#load
0.22 0.007 0.007 0.000 0.000 6000 Typhoeus::Request::Responseable#response
0.22 0.552 0.007 0.000 0.545 1000 Typhoeus::EasyFactory#get
0.22 0.017 0.007 0.000 0.010 4000 <Class::Time>#now
0.22 0.010 0.007 0.000 0.003 2000 Mutex#synchronize
0.21 0.014 0.007 0.000 0.007 2000 URI::Generic#query=
0.21 0.027 0.007 0.000 0.020 2000 URI::Generic#normalize
0.20 0.032 0.007 0.000 0.025 1000 Elasticsearch::Transport::Transport::Base#get_connection
0.20 0.086 0.007 0.000 0.080 1000 Ethon::Easy::Header#headers=
0.20 0.012 0.007 0.000 0.005 1000 JSON::Ext::Parser#initialize
0.20 0.116 0.007 0.000 0.109 1000 URI::Generic#merge0
0.20 0.265 0.007 0.000 0.258 1000 Faraday::RackBuilder#build_env
0.20 0.012 0.007 0.000 0.005 3000 Faraday::Response#headers
0.20 0.010 0.006 0.000 0.003 4000 Time#initialize
0.19 0.006 0.006 0.000 0.000 9000 Kernel#respond_to_missing?
0.19 0.070 0.006 0.000 0.063 1000 URI::Generic#==
0.19 0.007 0.006 0.000 0.001 2000 Typhoeus::Request::Callbacks::Types#on_success
0.19 0.006 0.006 0.000 0.000 5000 FFI::AbstractMemory#get_bytes
0.18 0.221 0.006 0.000 0.215 1000 Typhoeus::Request::Operations#finish
0.18 0.013 0.006 0.000 0.008 4000 Typhoeus::EasyFactory#easy
0.17 0.018 0.006 0.000 0.013 1000 Typhoeus::Response::Status#success?
0.17 0.109 0.006 0.000 0.104 1000 Faraday::Adapter#save_response
0.17 0.040 0.006 0.000 0.035 2000 Ethon::Easy::Informations#httpauth_avail
0.17 0.007 0.006 0.000 0.002 3000 URI::Generic#userinfo
0.17 0.021 0.006 0.000 0.016 1000 Ethon::Easy::Http#fabricate
0.17 0.036 0.005 0.000 0.031 2000 Ethon::Easy::Informations#total_time
0.16 0.005 0.005 0.000 0.000 9000 Hash#key?
0.16 0.081 0.005 0.000 0.075 1000 Faraday::Utils::Headers#parse
0.16 0.010 0.005 0.000 0.005 1000 <Module::Ethon::Curl>#easy_setopt_string
0.16 0.052 0.005 0.000 0.046 2000 Ethon::Easy::Informations#effective_url
0.16 0.009 0.005 0.000 0.004 2000 Faraday::Response#body
0.16 0.381 0.005 0.000 0.376 1000 Faraday::Response#finish
0.16 0.085 0.005 0.000 0.080 2000 Faraday::Options#key?
0.15 0.034 0.005 0.000 0.028 2000 Ethon::Easy::Informations#pretransfer_time
0.15 1.710 0.005 0.000 1.705 1000 Typhoeus::Request::Operations#run
0.15 0.005 0.005 0.000 0.000 3000 URI::Generic#absolute?
0.15 0.381 0.005 0.000 0.376 3000 *Faraday::Options#update
0.15 0.034 0.005 0.000 0.029 2000 Ethon::Easy::Informations#starttransfer_time
0.15 0.033 0.005 0.000 0.028 2000 Ethon::Easy::Informations#appconnect_time
0.15 0.033 0.005 0.000 0.028 2000 Ethon::Easy::Informations#namelookup_time
0.15 2.998 0.005 0.000 2.993 1000 Faraday::Connection#run_request
0.15 0.034 0.005 0.000 0.029 2000 Ethon::Easy::Informations#response_code
0.15 0.033 0.005 0.000 0.028 2000 Ethon::Easy::Informations#connect_time
0.15 0.033 0.005 0.000 0.028 2000 Ethon::Easy::Informations#redirect_count
0.15 0.303 0.005 0.000 0.298 1000 Ethon::Easy::ResponseCallbacks#headers
0.15 0.049 0.005 0.000 0.045 2000 Ethon::Easy::Informations#primary_ip
0.15 0.005 0.005 0.000 0.000 4000 FFI::AbstractMemory#get_string
0.15 0.005 0.005 0.000 0.000 2000 Hash#keys
0.15 0.033 0.005 0.000 0.028 2000 URI::Generic#component_ary
0.15 0.009 0.005 0.000 0.004 2000 Faraday::Response#status
0.15 0.011 0.005 0.000 0.006 2000 Ethon::Easy::Http::Actionable#form
0.14 0.009 0.005 0.000 0.004 2000 URI::Generic#default_port
0.14 2.628 0.005 0.000 2.623 1000 Faraday::Adapter::Typhoeus#call
0.14 0.005 0.005 0.000 0.000 7000 Integer#to_i
0.14 0.076 0.005 0.000 0.071 2001 Faraday::Options#keys
0.14 0.025 0.005 0.000 0.021 1000 Typhoeus::Request#initialize
0.14 0.005 0.005 0.000 0.000 4000 FFI::AbstractMemory#read_pointer
0.14 0.006 0.005 0.000 0.002 1000 URI::Generic#set_userinfo
0.14 0.008 0.005 0.000 0.004 2000 URI::Generic#component
0.14 0.190 0.005 0.000 0.185 1000 URI::Generic#merge
0.14 0.100 0.005 0.000 0.095 1000 URI::Parser#convert_to_uri
0.14 0.007 0.005 0.000 0.002 2000 <Class::#<Class:0x007f80abc08568>>#new
0.14 0.158 0.005 0.000 0.153 3001 *Array#map
0.14 0.007 0.004 0.000 0.002 1000 URI::Generic#set_port
0.14 3.005 0.004 0.000 3.000 10000 *Proc#call
0.14 0.015 0.004 0.000 0.010 1000 Typhoeus::Request::Callbacks#execute_headers_callbacks
0.14 0.004 0.004 0.000 0.000 6000 Hash#[]
0.13 0.007 0.004 0.000 0.003 3000 *MultiJson::Options#load_options
0.13 0.011 0.004 0.000 0.006 1000 Time#-
0.13 0.004 0.004 0.000 0.000 2000 URI::Generic#check_query
0.13 0.004 0.004 0.000 0.000 4000 Struct#initialize
0.13 0.011 0.004 0.000 0.007 2000 Hash#merge
0.13 0.004 0.004 0.000 0.000 2000 Typhoeus::Response#initialize
0.13 1.744 0.004 0.000 1.739 1000 Typhoeus::Request::Before#run
0.13 0.004 0.004 0.000 0.000 6000 FFI::AbstractMemory#read_long
0.13 3.250 0.004 0.000 3.246 1000 BasicObject#instance_eval
0.12 0.046 0.004 0.000 0.042 2000 Faraday::Adapter::Typhoeus#parallel?
0.12 0.388 0.004 0.000 0.384 1000 Ethon::Easy::Http::Get#setup
0.12 2.220 0.004 0.000 2.216 1000 Faraday::Adapter::Typhoeus#perform_request
0.12 0.010 0.004 0.000 0.006 1000 Ethon::Easy::Http::Actionable#params
0.12 0.037 0.004 0.000 0.033 1000 Faraday::Adapter::Typhoeus#configure_timeout
0.12 0.083 0.004 0.000 0.079 1000 MultiJson#load
0.12 0.004 0.004 0.000 0.000 5000 Fixnum#+
0.12 0.004 0.004 0.000 0.000 1000 MatchData#[]
0.12 0.004 0.004 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.11 0.004 0.004 0.000 0.000 3000 Fixnum#<<
0.11 0.004 0.004 0.000 0.000 3000 Ethon::Easy::Queryable#empty?
0.11 0.008 0.004 0.000 0.005 1000 <Module::Ethon::Curl>#easy_setopt_debug_callback
0.11 0.365 0.004 0.000 0.361 2000 *Faraday::Options#each
0.11 0.004 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#on_headers
0.11 0.004 0.004 0.000 0.000 1000 String#=~
0.11 3.243 0.004 0.000 3.240 1000 Elasticsearch::Transport::Transport::HTTP::Faraday#perform_request
0.11 0.014 0.004 0.000 0.011 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.11 2.898 0.004 0.000 2.895 1000 Faraday::RackBuilder#build_response
0.11 0.004 0.004 0.000 0.000 3000 URI::Generic#set_query
0.11 0.004 0.004 0.000 0.000 1000 <Module::Ethon::Curl>#easy_reset
0.11 0.085 0.004 0.000 0.081 2000 <Class::Faraday::Utils::Headers>#from
0.11 0.012 0.004 0.000 0.009 1000 Typhoeus::Request::Cacheable#response=
0.11 0.003 0.003 0.000 0.000 3000 Ethon::Easy::Http::Actionable#options
0.10 0.031 0.003 0.000 0.027 1000 Faraday::Utils::ParamsHash#to_query
0.10 0.005 0.003 0.000 0.002 1000 Faraday::Request#headers=
0.10 0.004 0.003 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#on_complete
0.10 0.008 0.003 0.000 0.005 1000 <Module::Ethon::Curl>#easy_setopt_ffipointer
0.10 1.735 0.003 0.000 1.731 1000 Typhoeus::Request::Stubbable#run
0.10 0.007 0.003 0.000 0.004 1000 Typhoeus::Request::Memoizable#response=
0.10 0.059 0.003 0.000 0.056 1000 Ethon::Easy::Options#url=
0.10 0.004 0.003 0.000 0.001 1000 Logger#add
0.10 0.005 0.003 0.000 0.002 1000 Faraday::Request#params=
0.10 1.715 0.003 0.000 1.712 1000 Typhoeus::Request::Cacheable#run
0.10 0.003 0.003 0.000 0.000 4000 FFI::Pointer#null?
0.10 0.007 0.003 0.000 0.004 1000 Faraday::Env#needs_body?
0.10 0.006 0.003 0.000 0.003 1000 Ethon::Easy::Util#escape_zero_byte
0.10 0.165 0.003 0.000 0.162 1000 <Module::Typhoeus::Pool>#release
0.10 0.032 0.003 0.000 0.029 1000 Faraday::Adapter::Typhoeus#configure_proxy
0.10 0.004 0.003 0.000 0.001 1000 <Module::Typhoeus>#before
0.10 1.722 0.003 0.000 1.718 1000 Typhoeus::Request::BlockConnection#run
0.10 0.003 0.003 0.000 0.000 2000 Ethon::Easy::Mirror#initialize
0.10 0.099 0.003 0.000 0.096 1000 Typhoeus::EasyFactory#sanitize
0.09 0.010 0.003 0.000 0.007 1000 <Class::Typhoeus::Expectation>#response_for
0.09 0.003 0.003 0.000 0.000 4000 Kernel#kind_of?
0.09 0.676 0.003 0.000 0.673 1000 Ethon::Easy::ResponseCallbacks#complete
0.09 0.055 0.003 0.000 0.051 1000 Ethon::Easy::Options#ssl_verifypeer=
0.09 0.003 0.003 0.000 0.000 2000 <Module::URI>#scheme_list
0.09 0.004 0.003 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.09 0.056 0.003 0.000 0.053 1000 Ethon::Easy::Options#ssl_verifyhost=
0.09 0.060 0.003 0.000 0.057 1000 Ethon::Easy::Options#maxredirs=
0.09 0.004 0.003 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#body
0.09 0.003 0.003 0.000 0.000 3000 Fixnum#<
0.09 0.413 0.003 0.000 0.410 1000 Ethon::Easy::Http#http_request
0.09 0.374 0.003 0.000 0.371 2000 *<Class::Faraday::Options>#from
0.09 0.009 0.003 0.000 0.006 1000 Ethon::Easy::Header#compose_header
0.09 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#body
0.08 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#default_port
0.08 0.003 0.003 0.000 0.000 2000 String#force_encoding
0.08 0.006 0.003 0.000 0.003 1000 <Class::MultiJson::Adapter>#blank?
0.08 0.003 0.003 0.000 0.001 1000 Typhoeus::Request::BlockConnection#blocked?
0.08 0.003 0.003 0.000 0.000 2000 Typhoeus::Request::Cacheable#cacheable?
0.08 0.028 0.003 0.000 0.025 1000 JSON#parse
0.08 0.008 0.003 0.000 0.005 1000 Ethon::Easy::Http::Actionable#initialize
0.08 0.058 0.003 0.000 0.055 1000 URI::HTTP#initialize
0.08 0.007 0.003 0.000 0.005 1000 Typhoeus::Response::Status#timed_out?
0.08 0.090 0.003 0.000 0.088 1000 <Class::Faraday::Request>#create
0.08 0.023 0.003 0.000 0.020 1000 Faraday::Utils::ParamsHash#merge
0.08 0.003 0.003 0.000 0.001 1000 Faraday::Utils::ParamsHash#update
0.08 0.023 0.003 0.000 0.021 1000 Faraday::Adapter::Typhoeus#read_body
0.08 0.003 0.003 0.000 0.000 2000 Typhoeus::Response::Informations#return_code
0.08 0.021 0.002 0.000 0.019 1000 Faraday::Options#merge
0.08 0.002 0.002 0.000 0.000 1000 FFI::AutoPointer::Releaser#initialize
0.08 0.002 0.002 0.000 0.000 2000 <Module::Typhoeus::Pool>#easies
0.08 0.004 0.002 0.000 0.002 1000 MultiJson#current_adapter
0.08 0.002 0.002 0.000 0.000 4000 #<Class:0x007f80abc08568>#response_headers
0.08 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80abc08568>#status
0.08 0.006 0.002 0.000 0.004 1000 <Class::Typhoeus::Expectation>#find_by
0.07 0.002 0.002 0.000 0.000 3000 Hash#delete
0.07 0.002 0.002 0.000 0.000 2000 <Class::URI::Generic>#component
0.07 0.002 0.002 0.000 0.000 1000 Typhoeus::Request::Responseable#response=
0.07 0.002 0.002 0.000 0.000 3000 Hash#has_key?
0.07 0.002 0.002 0.000 0.000 1000 URI::Generic#parser
0.07 0.028 0.002 0.000 0.026 1000 Faraday::Adapter::Typhoeus#configure_socket
0.07 0.003 0.002 0.000 0.001 1000 <Class::#<Class:0x007f80ac842900>>#new
0.07 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80abbfb4a8>#params_encoder
0.07 0.006 0.002 0.000 0.004 1000 Logger#debug
0.07 3.246 0.002 0.000 3.243 1000 Elasticsearch::Transport::Client#perform_request
0.07 0.007 0.002 0.000 0.005 851 FFI::AutoPointer::Releaser#call
0.07 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#status=
0.07 0.002 0.002 0.000 0.000 1000 URI::Generic#path_query
0.07 0.002 0.002 0.000 0.000 1001 Kernel#lambda
0.07 0.003 0.002 0.000 0.001 1000 URI::Generic#set_scheme
0.07 0.002 0.002 0.000 0.000 1000 <Module::Ethon::Curl>#slist_append
0.07 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Form#initialize
0.07 0.085 0.002 0.000 0.083 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.07 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Params#initialize
0.06 0.002 0.002 0.000 0.000 3000 FFI::Type#size
0.06 0.002 0.002 0.000 0.000 2000 Fixnum#to_s
0.06 0.003 0.002 0.000 0.001 1000 Time#+
0.06 0.002 0.002 0.000 0.000 1000 <Module::ObjectSpace>#define_finalizer
0.06 0.274 0.002 0.000 0.272 1000 Ethon::Easy#mirror
0.06 0.002 0.002 0.000 0.000 1000 Typhoeus::Response#mock
0.06 0.002 0.002 0.000 0.000 1000 Array#==
0.06 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Response#initialize
0.06 0.092 0.002 0.000 0.090 1000 Faraday::Connection#build_request
0.06 0.002 0.002 0.000 0.000 1000 Faraday::Response#initialize
0.06 0.002 0.002 0.000 0.000 3001 #<Class:0x007f80abbfb278>#verify
0.06 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#response_headers=
0.06 0.003 0.002 0.000 0.001 1000 <Class::#<Class:0x007f80abbfb4a8>>#new
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Env#parallel?
0.06 0.009 0.002 0.000 0.007 1000 Faraday::Adapter#call
0.06 0.002 0.002 0.000 0.000 2000 String#upcase
0.06 0.003 0.002 0.000 0.001 1000 Enumerable#map
0.06 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#params
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Connection#proxy
0.06 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#headers
0.06 0.091 0.002 0.000 0.089 1000 Enumerable#detect
0.06 0.002 0.002 0.000 0.000 1000 Typhoeus::EasyFactory#initialize
0.06 0.008 0.002 0.000 0.006 1000 <Module::Typhoeus::Pool>#get
0.06 0.004 0.002 0.000 0.002 1000 URI::Generic#relative?
0.06 0.288 0.002 0.000 0.286 1000 Ethon::Easy#set_attributes
0.06 0.006 0.002 0.000 0.004 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.06 0.002 0.002 0.000 0.000 1000 Faraday::Utils::ParamsHash#merge_query
0.06 0.002 0.002 0.000 0.000 1000 Faraday::Options#symbolized_key_set
0.06 0.002 0.002 0.000 0.000 1000 Kernel#method
0.06 0.003 0.002 0.000 0.001 1000 Hash#==
0.06 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.05 0.002 0.002 0.000 0.000 1000 Ethon::Easy::DebugInfo#initialize
0.05 0.002 0.002 0.000 0.000 851 <Module::Ethon::Curl>#slist_free_all
0.05 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#body=
0.05 0.002 0.002 0.000 0.001 1000 Enumerable#find
0.05 0.005 0.002 0.000 0.004 1000 Kernel#!~
0.05 0.002 0.002 0.000 0.000 1000 Faraday::RackBuilder#app
0.05 0.002 0.002 0.000 0.000 1000 Ethon::Loggable#logger
0.05 0.002 0.002 0.000 0.000 1000 MultiJson#adapter
0.05 0.003 0.002 0.000 0.002 1000 Numeric#quo
0.05 0.002 0.002 0.000 0.000 1000 Module#const_defined?
0.05 0.002 0.002 0.000 0.000 1000 String#index
0.05 0.002 0.002 0.000 0.000 1000 Rational#/
0.05 0.002 0.002 0.000 0.001 1000 Time#<=>
0.05 0.002 0.002 0.000 0.000 2000 Array#first
0.05 0.002 0.002 0.000 0.000 2000 Kernel#initialize_copy
0.05 0.005 0.002 0.000 0.003 851 FFI::AutoPointer::CallableReleaser#release
0.05 0.002 0.002 0.000 0.000 1000 URI::Generic#split_userinfo
0.05 0.002 0.002 0.000 0.000 1000 Typhoeus::Request::Streamable#streaming?
0.05 0.002 0.002 0.000 0.000 1000 Faraday::Utils#default_params_encoder
0.05 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#version
0.05 0.004 0.001 0.000 0.002 1000 Comparable#>
0.04 0.001 0.001 0.000 0.000 1000 <Class::MultiJson::Adapters::JsonGem>#instance
0.04 0.001 0.001 0.000 0.000 2000 String#to_s
0.04 0.001 0.001 0.000 0.000 1000 Module#const_get
0.04 0.003 0.001 0.000 0.002 851 Method#call
0.04 0.001 0.001 0.000 0.000 1000 Typhoeus::Response::Informations#response_headers
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#client_cert
0.04 0.001 0.001 0.000 0.000 2000 Hash#to_hash
0.04 0.001 0.001 0.000 0.000 1000 Typhoeus::Response::Informations#response_body
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#verify_mode
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#private_key
0.04 0.001 0.001 0.000 0.000 1000 Typhoeus::Request::Memoizable#memoizable?
0.04 0.001 0.001 0.000 0.000 2000 #<Class:0x007f80ac842900>#options
0.04 0.002 0.001 0.000 0.001 1000 Rational#to_f
0.04 0.001 0.001 0.000 0.000 1000 URI::Generic#set_fragment
0.04 0.001 0.001 0.000 0.000 1000 URI::Generic#set_host
0.04 0.001 0.001 0.000 0.000 1000 Ethon::Easy::Callbacks#header_write_callback
0.04 0.001 0.001 0.000 0.000 2000 #<Class:0x007f80abc08568>#method
0.04 0.001 0.001 0.000 0.000 1000 MultiJson::Options#default_load_options
0.04 0.001 0.001 0.000 0.000 1000 Ethon::Easy::Callbacks#body_write_callback
0.04 0.001 0.001 0.000 0.000 1000 String#capitalize
0.04 0.001 0.001 0.000 0.000 1000 <Class::Typhoeus::Expectation>#all
0.04 0.001 0.001 0.000 0.000 1000 String#to_i
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#client_key
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#ca_path
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#verify_depth
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#ca_file
0.04 0.001 0.001 0.000 0.000 1000 URI::Generic#set_registry
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#cert_store
0.04 0.001 0.001 0.000 0.000 1000 Ethon::Easy::Callbacks#debug_callback
0.04 0.001 0.001 0.000 0.000 1000 Ethon::Easy::Http::Actionable#url
0.04 0.001 0.001 0.000 0.000 2000 #<Class:0x007f80abc08568>#parallel_manager
0.04 0.001 0.001 0.000 0.000 1000 URI::Generic#set_path
0.04 0.001 0.001 0.000 0.000 1000 String#chop
0.04 0.001 0.001 0.000 0.000 1000 URI::Generic#set_opaque
0.04 0.001 0.001 0.000 0.000 1000 String#include?
0.04 0.001 0.001 0.000 0.000 1000 String#initialize_copy
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#certificate
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb278>#verify=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method=
0.03 0.001 0.001 0.000 0.000 1000 String#to_sym
0.03 0.001 0.001 0.000 0.000 1000 Struct#initialize_copy
0.03 0.001 0.001 0.000 0.000 1000 Integer#chr
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#params=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#options=
0.03 0.001 0.001 0.000 0.000 1000 FFI::Pointer#initialize
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers=
0.03 0.001 0.001 0.000 0.000 1000 Array#shift
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#headers=
0.03 0.001 0.001 0.000 0.000 1000 Hash#fetch
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url=
0.03 0.001 0.001 0.000 0.000 1000 Array#pop
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl
0.03 0.001 0.001 0.000 0.000 1000 FFI::Pointer#type_size
0.03 0.001 0.001 0.000 0.000 1000 String#===
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#method
0.03 0.001 0.001 0.000 0.000 1000 Array#sort!
0.02 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.02 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.02 0.001 0.001 0.000 0.000 1001 Kernel#freeze
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#oauth
0.02 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#boundary
0.02 0.001 0.001 0.000 0.000 1000 <Class::String>#try_convert
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#open_timeout
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request
0.02 0.001 0.001 0.000 0.000 1000 Hash#merge!
0.02 0.001 0.001 0.000 0.000 1000 Hash#empty?
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#bind
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#proxy
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#timeout
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#params
0.00 0.000 0.000 0.000 0.000 1 Enumerable#each_entry
0.00 0.000 0.000 0.000 0.000 1 Set#initialize
0.00 0.000 0.000 0.000 0.000 1 Set#merge
0.00 0.000 0.000 0.000 0.000 1 Set#do_with_enum
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#new
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#to_app
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#lock!
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#build
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#loaded?
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#klass
0.00 0.000 0.000 0.000 0.000 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 1 Faraday::Middleware#initialize
0.00 0.000 0.000 0.000 0.000 1 Kernel#instance_of?
0.00 0.000 0.000 0.000 0.000 1 Array#reverse
* indicates recursively called methods
PASS (0:00:29.685) test_: Elasticsearch client benchmark with a single-node cluster and the Typhoeus client should get the cluster info (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Typhoeus client should index a document (1000x)
mean: 4.40ms | avg: 5.03ms | max: 27.87ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 3.958296
Sort by: self_time
%self total self wait child calls name
5.12 0.494 0.202 0.000 0.291 10000 Ethon::Curls::Options#set_option
3.35 0.544 0.133 0.000 0.411 1000 <Module::Ethon::Curl>#easy_perform
2.71 1.547 0.107 0.000 1.440 13002 *Array#each
2.50 0.166 0.099 0.000 0.067 20000 Faraday::Options#[]
1.86 0.074 0.074 0.000 0.000 55000 Symbol#to_s
1.64 0.127 0.065 0.000 0.062 22000 <Module::Ethon::Curl>#easy_getinfo
1.56 0.070 0.062 0.000 0.008 32000 FFI::Enum#to_native
1.53 0.176 0.060 0.000 0.116 12000 Ethon::Curls::Infos#get_info_double
1.43 0.196 0.056 0.000 0.139 9000 Hash#each
1.33 0.086 0.053 0.000 0.033 4001 Array#reject
1.26 0.297 0.050 0.000 0.247 20003 *Class#new
1.23 0.049 0.049 0.000 0.000 49000 Hash#[]=
1.19 0.047 0.047 0.000 0.000 34000 Ethon::Easy::Operations#handle
1.14 0.045 0.045 0.000 0.000 33000 FFI::Enum#from_native
1.11 0.044 0.044 0.000 0.000 62000 Symbol#==
1.05 0.101 0.042 0.000 0.059 11000 Faraday::Env#in_member_set?
1.04 0.041 0.041 0.000 0.000 5000 Typhoeus::EasyFactory#renamed_options
1.03 0.041 0.041 0.000 0.000 61000 Symbol#to_sym
0.97 0.045 0.039 0.000 0.007 29001 Kernel#respond_to?
0.97 3.912 0.038 0.000 3.874 1000 Elasticsearch::Transport::Transport::Base#perform_request
0.93 0.037 0.037 0.000 0.000 56001 Kernel#class
0.92 0.060 0.036 0.000 0.024 19000 <Class::Faraday::Options>#options_for
0.89 0.230 0.035 0.000 0.195 11000 Faraday::Env#[]
0.86 0.034 0.034 0.000 0.000 34000 String#downcase
0.83 0.106 0.033 0.000 0.073 4000 Ethon::Curls::Infos#get_info_string
0.82 0.060 0.032 0.000 0.027 5000 Faraday::Utils::Headers#[]=
0.82 0.032 0.032 0.000 0.000 24000 Ethon::Curls::Infos#double_ptr
0.76 0.063 0.030 0.000 0.033 1000 URI::Generic#initialize
0.76 0.094 0.030 0.000 0.064 6000 Ethon::Curls::Infos#get_info_long
0.74 0.029 0.029 0.000 0.000 1000 JSON::Ext::Parser#parse
0.69 0.033 0.027 0.000 0.006 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
0.69 0.203 0.027 0.000 0.176 3000 *Kernel#tap
0.65 0.026 0.026 0.000 0.000 41013 NilClass#nil?
0.64 0.025 0.025 0.000 0.000 20000 <Class::Faraday::Options>#memoized_attributes
0.61 0.050 0.024 0.000 0.026 9000 FFI::Pointer#read_string
0.61 0.036 0.024 0.000 0.012 13000 Set#include?
0.60 0.024 0.024 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.58 0.027 0.023 0.000 0.004 2000 URI::Generic#normalize!
0.58 0.023 0.023 0.000 0.000 24000 Hash#include?
0.58 0.023 0.023 0.000 0.000 4000 String#split
0.56 0.330 0.022 0.000 0.308 1000 Hash#each_pair
0.53 0.021 0.021 0.000 0.000 24000 Kernel#is_a?
0.52 0.021 0.021 0.000 0.000 10000 Ethon::Curls::Options#easy_options
0.51 0.020 0.020 0.000 0.000 28000 Kernel#nil?
0.48 0.019 0.019 0.000 0.000 4000 FFI::AbstractMemory#get_string
0.48 0.046 0.019 0.000 0.028 9000 Kernel#dup
0.47 0.038 0.019 0.000 0.020 12000 Kernel#initialize_dup
0.45 0.493 0.018 0.000 0.476 1000 Faraday::Adapter::Typhoeus#request
0.44 0.025 0.018 0.000 0.007 4000 <Module::FFI>#find_type
0.44 0.028 0.017 0.000 0.011 1000 URI::Generic#to_s
0.43 0.200 0.017 0.000 0.183 1000 Faraday::Adapter::Typhoeus#configure_ssl
0.43 0.022 0.017 0.000 0.005 2000 Array#collect
0.41 0.016 0.016 0.000 0.000 1000 <Module::Ethon::Curl>#slist_append
0.41 0.016 0.016 0.000 0.000 12000 Ethon::Curls::Infos#long_ptr
0.40 0.026 0.016 0.000 0.010 9000 Array#include?
0.40 0.072 0.016 0.000 0.056 3000 Faraday::Utils::Headers#initialize
0.40 0.016 0.016 0.000 0.000 20000 Struct#[]
0.38 0.015 0.015 0.000 0.000 16000 Module#===
0.37 0.015 0.015 0.000 0.000 8000 Hash#initialize_copy
0.37 0.023 0.015 0.000 0.009 3000 Faraday::Utils::Headers#[]
0.36 0.034 0.014 0.000 0.020 4000 <Module::Ethon::Curl>#easy_setopt_long
0.35 0.014 0.014 0.000 0.000 11000 <Class::Faraday::Env>#member_set
0.35 0.150 0.014 0.000 0.137 1000 Ethon::Easy::Callbacks#set_callbacks
0.35 0.030 0.014 0.000 0.016 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.35 0.163 0.014 0.000 0.149 1000 Ethon::Easy::Http::Postable#set_form
0.34 0.027 0.013 0.000 0.014 1000 FFI::AutoPointer#initialize
0.33 0.013 0.013 0.000 0.000 17000 Kernel#block_given?
0.31 0.601 0.012 0.000 0.588 1000 Ethon::Easy::Http::Actionable#setup
0.31 0.022 0.012 0.000 0.010 1000 Faraday::Options#fetch
0.31 0.306 0.012 0.000 0.294 1000 Faraday::Connection#build_exclusive_url
0.29 0.014 0.011 0.000 0.002 3000 Typhoeus::Request::Callbacks::Types#on_complete
0.29 0.194 0.011 0.000 0.182 5001 *Array#map
0.29 0.039 0.011 0.000 0.028 4000 <Module::FFI>#type_size
0.28 0.602 0.011 0.000 0.591 2000 <Class::Ethon::Easy::Mirror>#from_easy
0.28 0.011 0.011 0.000 0.000 8000 Ethon::Curls::Infos#string_ptr
0.27 0.236 0.011 0.000 0.225 1000 Typhoeus::Request::Callbacks#execute_callbacks
0.27 1.315 0.011 0.000 1.304 1000 Ethon::Easy::Operations#perform
0.27 0.011 0.011 0.000 0.000 8000 Faraday::Response#finished?
0.26 0.021 0.010 0.000 0.011 2000 <Module::Ethon::Curl>#easy_setopt_string
0.26 0.012 0.010 0.000 0.002 2000 Typhoeus::Request::Callbacks::Types#on_headers
0.26 0.010 0.010 0.000 0.000 2000 Regexp#===
0.26 0.071 0.010 0.000 0.061 1000 MultiJson::Adapters::JsonCommon#load
0.26 0.024 0.010 0.000 0.013 1000 URI::Parser#split
0.26 0.018 0.010 0.000 0.007 6000 Ethon::Easy::Http::Actionable#form
0.26 0.021 0.010 0.000 0.011 1000 Faraday::Request#url
0.25 3.958 0.010 0.000 3.948 1 Elasticsearch::Extensions::Test::Profiling#measure
0.25 0.024 0.010 0.000 0.014 1000 Typhoeus::EasyFactory#set_callback
0.25 0.055 0.010 0.000 0.045 4000 Faraday::Utils::Headers#merge!
0.25 0.013 0.010 0.000 0.003 4000 Typhoeus::Response::Informations#response_code
0.24 0.024 0.010 0.000 0.015 1000 JSON::Ext::Generator::GeneratorMethods::Hash#to_json
0.24 0.018 0.009 0.000 0.009 1000 Typhoeus::Request#set_defaults
0.24 0.020 0.009 0.000 0.010 2000 <Module::Ethon::Curl>#easy_setopt_callback
0.23 0.110 0.009 0.000 0.101 1000 URI::Parser#parse
0.23 0.106 0.009 0.000 0.097 1000 <Class::MultiJson::Adapter>#load
0.23 0.792 0.009 0.000 0.783 1000 Typhoeus::EasyFactory#get
0.22 0.009 0.009 0.000 0.000 12000 FFI::AbstractMemory#read_double
0.22 0.165 0.009 0.000 0.157 1000 Ethon::Easy#reset
0.22 0.013 0.009 0.000 0.004 2000 Mutex#synchronize
0.21 0.136 0.008 0.000 0.128 1000 URI::Generic#merge0
0.21 0.019 0.008 0.000 0.011 4000 <Class::Time>#now
0.20 0.323 0.008 0.000 0.315 1000 Faraday::RackBuilder#build_env
0.20 0.038 0.008 0.000 0.030 1000 Elasticsearch::Transport::Transport::Base#get_connection
0.20 0.008 0.008 0.000 0.000 12000 Hash#key?
0.20 0.015 0.008 0.000 0.007 2000 URI::Generic#query=
0.20 0.008 0.008 0.000 0.000 3000 Hash#keys
0.20 0.113 0.008 0.000 0.105 1000 Ethon::Easy::Header#headers=
0.20 0.014 0.008 0.000 0.006 1000 JSON::Ext::Parser#initialize
0.20 0.008 0.008 0.000 0.000 6000 Typhoeus::Request::Responseable#response
0.19 0.044 0.008 0.000 0.036 2000 URI::Generic#normalize
0.19 0.092 0.008 0.000 0.085 1000 URI::Generic#==
0.19 0.011 0.008 0.000 0.003 4000 Time#initialize
0.19 0.008 0.008 0.000 0.000 10000 Kernel#respond_to_missing?
0.19 0.018 0.007 0.000 0.011 3000 Hash#merge
0.18 0.013 0.007 0.000 0.005 3000 Faraday::Response#headers
0.18 0.021 0.007 0.000 0.014 1000 Typhoeus::Response::Status#success?
0.18 0.049 0.007 0.000 0.042 2000 Ethon::Easy::Informations#httpauth_avail
0.18 0.007 0.007 0.000 0.000 5000 FFI::AbstractMemory#get_bytes
0.17 0.013 0.007 0.000 0.006 2000 <Class::Ethon::Easy::Mirror>#informations_to_mirror
0.17 0.259 0.007 0.000 0.252 1000 Typhoeus::Request::Operations#finish
0.17 0.051 0.007 0.000 0.044 1000 <Class::MultiJson::Adapter>#dump
0.17 3.926 0.007 0.000 3.920 1000 BasicObject#instance_eval
0.17 0.008 0.007 0.000 0.001 2000 Typhoeus::Request::Callbacks::Types#on_success
0.17 0.128 0.007 0.000 0.121 1000 Faraday::Adapter#save_response
0.16 0.042 0.007 0.000 0.035 2000 Ethon::Easy::Informations#total_time
0.16 0.025 0.007 0.000 0.019 1000 Ethon::Easy::Http#fabricate
0.16 0.016 0.006 0.000 0.009 4000 Typhoeus::EasyFactory#easy
0.16 3.615 0.006 0.000 3.608 10000 *Proc#call
0.16 2.119 0.006 0.000 2.113 1000 Typhoeus::Request::Operations#run
0.16 3.539 0.006 0.000 3.533 1000 Faraday::Connection#run_request
0.15 0.008 0.006 0.000 0.002 3000 URI::Generic#userinfo
0.15 0.093 0.006 0.000 0.087 1000 Faraday::Utils::Headers#parse
0.15 0.010 0.006 0.000 0.004 2000 Faraday::Response#body
0.15 0.381 0.006 0.000 0.375 1000 Faraday::Response#finish
0.15 0.059 0.006 0.000 0.053 2000 Ethon::Easy::Informations#effective_url
0.15 0.038 0.006 0.000 0.032 2000 Ethon::Easy::Informations#starttransfer_time
0.15 0.380 0.006 0.000 0.375 3000 *Faraday::Options#update
0.15 0.037 0.006 0.000 0.032 2000 Ethon::Easy::Informations#appconnect_time
0.15 0.038 0.006 0.000 0.032 2000 Ethon::Easy::Informations#pretransfer_time
0.14 0.013 0.006 0.000 0.007 1000 Time#-
0.14 0.009 0.006 0.000 0.004 2000 MultiJson#current_adapter
0.14 0.006 0.006 0.000 0.000 4000 Fixnum#<<
0.14 0.009 0.006 0.000 0.003 2000 MultiJson::Options#dump_options
0.14 0.030 0.006 0.000 0.024 1000 Typhoeus::Request#initialize
0.14 0.006 0.006 0.000 0.000 8000 Integer#to_i
0.14 3.092 0.006 0.000 3.086 1000 Faraday::Adapter::Typhoeus#call
0.14 0.093 0.006 0.000 0.087 2000 Faraday::Options#key?
0.14 0.234 0.006 0.000 0.229 1000 URI::Generic#merge
0.14 0.006 0.006 0.000 0.000 4001 Struct#members
0.14 0.037 0.006 0.000 0.031 2000 Ethon::Easy::Informations#namelookup_time
0.14 0.015 0.006 0.000 0.010 2000 Ethon::Easy::Queryable#to_s
0.14 0.117 0.005 0.000 0.112 1000 URI::Parser#convert_to_uri
0.14 0.005 0.005 0.000 0.000 3000 URI::Generic#absolute?
0.14 0.037 0.005 0.000 0.032 2000 URI::Generic#component_ary
0.14 0.037 0.005 0.000 0.031 2000 Ethon::Easy::Informations#connect_time
0.14 0.010 0.005 0.000 0.004 2000 Faraday::Response#status
0.14 0.010 0.005 0.000 0.005 2000 URI::Generic#default_port
0.13 0.065 0.005 0.000 0.059 2000 Ethon::Easy::Informations#primary_ip
0.13 0.036 0.005 0.000 0.031 2000 Ethon::Easy::Informations#response_code
0.13 0.083 0.005 0.000 0.078 2001 Faraday::Options#keys
0.13 0.009 0.005 0.000 0.004 2000 URI::Generic#component
0.13 0.349 0.005 0.000 0.343 1000 Ethon::Easy::ResponseCallbacks#headers
0.13 2.160 0.005 0.000 2.154 1000 Typhoeus::Request::Before#run
0.13 0.008 0.005 0.000 0.003 2000 <Class::#<Class:0x007f80abc08568>>#new
0.13 0.055 0.005 0.000 0.050 2000 Faraday::Adapter::Typhoeus#parallel?
0.13 0.035 0.005 0.000 0.030 2000 Ethon::Easy::Informations#redirect_count
0.13 0.005 0.005 0.000 0.000 6000 Hash#[]
0.13 0.005 0.005 0.000 0.000 2000 Typhoeus::Response#initialize
0.13 0.007 0.005 0.000 0.002 1000 URI::Generic#set_port
0.13 0.018 0.005 0.000 0.013 1000 Typhoeus::Request::Callbacks#execute_headers_callbacks
0.13 0.008 0.005 0.000 0.003 3000 Ethon::Easy::Queryable#query_pairs
0.13 0.009 0.005 0.000 0.004 3000 *MultiJson::Options#load_options
0.13 0.005 0.005 0.000 0.000 4000 Struct#initialize
0.12 0.005 0.005 0.000 0.000 4000 FFI::AbstractMemory#read_pointer
0.12 0.005 0.005 0.000 0.000 2000 URI::Generic#check_query
0.12 0.006 0.005 0.000 0.002 1000 URI::Generic#set_userinfo
0.12 0.005 0.005 0.000 0.000 1000 MatchData#[]
0.12 0.608 0.005 0.000 0.603 1000 Ethon::Easy::Http::Post#setup
0.12 2.683 0.005 0.000 2.678 1000 Faraday::Adapter::Typhoeus#perform_request
0.12 3.421 0.005 0.000 3.417 1000 Faraday::RackBuilder#build_response
0.12 0.005 0.005 0.000 0.000 1000 <Module::Ethon::Curl>#easy_reset
0.12 0.005 0.005 0.000 0.000 6000 FFI::AbstractMemory#read_long
0.12 0.010 0.005 0.000 0.005 1000 <Module::Ethon::Curl>#easy_setopt_debug_callback
0.12 0.012 0.005 0.000 0.008 1000 Ethon::Easy::Http::Actionable#params
0.12 0.018 0.005 0.000 0.013 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.12 0.005 0.005 0.000 0.000 1000 String#=~
0.11 0.040 0.005 0.000 0.036 1000 Faraday::Adapter::Typhoeus#configure_timeout
0.11 0.005 0.005 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.11 3.917 0.005 0.000 3.912 1000 Elasticsearch::Transport::Transport::HTTP::Faraday#perform_request
0.11 0.115 0.004 0.000 0.111 1000 MultiJson#load
0.11 0.004 0.004 0.000 0.000 3001 Hash#initialize
0.11 0.015 0.004 0.000 0.010 1000 Typhoeus::Request::Cacheable#response=
0.11 2.149 0.004 0.000 2.145 1000 Typhoeus::Request::Stubbable#run
0.11 0.361 0.004 0.000 0.357 2000 *Faraday::Options#each
0.11 0.036 0.004 0.000 0.032 1000 Faraday::Utils::ParamsHash#to_query
0.11 0.004 0.004 0.000 0.000 4000 Fixnum#<
0.10 0.005 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#on_headers
0.10 0.004 0.004 0.000 0.000 3000 Ethon::Easy::Queryable#empty?
0.10 2.125 0.004 0.000 2.121 1000 Typhoeus::Request::Cacheable#run
0.10 0.004 0.004 0.000 0.000 5000 Fixnum#+
0.10 0.175 0.004 0.000 0.171 1000 <Module::Typhoeus::Pool>#release
0.10 2.133 0.004 0.000 2.128 1000 Typhoeus::Request::BlockConnection#run
0.10 0.009 0.004 0.000 0.005 1000 Typhoeus::Request::Memoizable#response=
0.10 0.006 0.004 0.000 0.002 1000 Faraday::Request#params=
0.10 0.749 0.004 0.000 0.745 1000 Ethon::Easy::ResponseCallbacks#complete
0.10 0.006 0.004 0.000 0.002 1000 Faraday::Request#headers=
0.10 0.064 0.004 0.000 0.060 1000 Ethon::Easy::Options#url=
0.10 0.004 0.004 0.000 0.000 3000 URI::Generic#set_query
0.10 0.005 0.004 0.000 0.001 1000 Logger#add
0.10 0.009 0.004 0.000 0.005 1000 <Module::Ethon::Curl>#easy_setopt_ffipointer
0.10 0.004 0.004 0.000 0.000 4000 Hash#delete
0.10 0.005 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#on_complete
0.10 0.004 0.004 0.000 0.000 3000 Ethon::Easy::Http::Actionable#options
0.10 0.004 0.004 0.000 0.000 2000 String#encode
0.10 0.004 0.004 0.000 0.000 2000 Ethon::Easy::Mirror#initialize
0.10 0.005 0.004 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.10 0.007 0.004 0.000 0.004 1000 Ethon::Easy::Util#escape_zero_byte
0.09 0.068 0.004 0.000 0.065 2000 <Class::Faraday::Utils::Headers>#from
0.09 0.004 0.004 0.000 0.001 1000 <Module::Typhoeus>#before
0.09 0.029 0.004 0.000 0.025 1000 MultiJson::Adapters::JsonCommon#dump
0.09 0.004 0.004 0.000 0.000 2000 <Module::URI>#scheme_list
0.09 0.004 0.004 0.000 0.000 2000 String#force_encoding
0.09 0.005 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#body
0.09 0.012 0.004 0.000 0.009 1000 <Class::Typhoeus::Expectation>#response_for
0.09 0.059 0.004 0.000 0.056 1000 Ethon::Easy::Options#ssl_verifypeer=
0.09 0.066 0.004 0.000 0.063 1000 Elasticsearch::Transport::Transport::Base#__convert_to_json
0.09 0.108 0.004 0.000 0.104 1000 Typhoeus::EasyFactory#sanitize
0.09 0.011 0.004 0.000 0.007 1000 Ethon::Easy::Header#compose_header
0.09 0.004 0.004 0.000 0.000 2000 MultiJson#adapter
0.09 0.637 0.004 0.000 0.634 1000 Ethon::Easy::Http#http_request
0.09 0.004 0.004 0.000 0.000 4000 Hash#has_key?
0.09 0.061 0.004 0.000 0.058 1000 Ethon::Easy::Options#ssl_verifyhost=
0.09 0.003 0.003 0.000 0.000 4000 Kernel#kind_of?
0.09 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#default_port
0.09 0.003 0.003 0.000 0.000 4000 FFI::Pointer#null?
0.09 0.069 0.003 0.000 0.065 1000 Ethon::Easy::Options#postfieldsize=
0.09 0.005 0.003 0.000 0.002 1000 JSON::Ext::Generator::State#initialize
0.09 0.035 0.003 0.000 0.031 1000 Faraday::Adapter::Typhoeus#configure_proxy
0.09 0.063 0.003 0.000 0.060 1000 Ethon::Easy::Options#maxredirs=
0.09 0.372 0.003 0.000 0.369 2000 *<Class::Faraday::Options>#from
0.08 0.043 0.003 0.000 0.040 1000 Ethon::Easy::Options#copypostfields=
0.08 0.059 0.003 0.000 0.056 1000 MultiJson#dump
0.08 0.003 0.003 0.000 0.000 2000 Typhoeus::Request::Cacheable#cacheable?
0.08 0.003 0.003 0.000 0.000 2000 <Class::MultiJson::Adapters::JsonGem>#instance
0.08 0.049 0.003 0.000 0.046 1000 JSON#parse
0.08 0.066 0.003 0.000 0.063 1000 URI::HTTP#initialize
0.08 0.009 0.003 0.000 0.006 1000 Ethon::Easy::Http::Actionable#initialize
0.08 0.004 0.003 0.000 0.001 1000 Typhoeus::Request::BlockConnection#blocked?
0.08 0.008 0.003 0.000 0.005 1000 Typhoeus::Response::Status#timed_out?
0.08 0.008 0.003 0.000 0.005 1000 <Class::Typhoeus::Expectation>#find_by
0.08 0.007 0.003 0.000 0.004 1000 <Class::MultiJson::Adapter>#blank?
0.08 0.011 0.003 0.000 0.008 1000 Faraday::Utils::ParamsHash#merge
0.08 0.008 0.003 0.000 0.005 1000 Logger#debug
0.08 0.003 0.003 0.000 0.000 1000 Typhoeus::Request::Responseable#response=
0.08 0.016 0.003 0.000 0.013 1000 Ethon::Easy::Form#multipart?
0.08 0.003 0.003 0.000 0.000 4000 FFI::Type#size
0.08 0.106 0.003 0.000 0.103 1000 <Class::Faraday::Request>#create
0.08 0.003 0.003 0.000 0.000 2000 <Module::Typhoeus::Pool>#easies
0.07 0.024 0.003 0.000 0.021 1000 Faraday::Options#merge
0.07 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#body
0.07 0.025 0.003 0.000 0.023 1000 Faraday::Adapter::Typhoeus#read_body
0.07 3.920 0.003 0.000 3.917 1000 Elasticsearch::Transport::Client#perform_request
0.07 0.003 0.003 0.000 0.000 2000 Typhoeus::Response::Informations#return_code
0.07 0.003 0.003 0.000 0.000 2000 MultiJson::Options#default_dump_options
0.07 0.003 0.003 0.000 0.000 1000 FFI::AutoPointer::Releaser#initialize
0.07 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#component
0.07 0.030 0.003 0.000 0.027 1000 Faraday::Adapter::Typhoeus#configure_socket
0.07 0.004 0.003 0.000 0.001 1000 Faraday::Utils::ParamsHash#update
0.07 0.003 0.003 0.000 0.000 1001 Kernel#lambda
0.07 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#status=
0.07 0.008 0.003 0.000 0.006 859 FFI::AutoPointer::Releaser#call
0.07 0.003 0.003 0.000 0.000 1000 Array#==
0.07 0.003 0.003 0.000 0.000 1000 URI::Generic#parser
0.07 0.003 0.003 0.000 0.000 1000 Ethon::Easy::Params#initialize
0.07 0.118 0.003 0.000 0.115 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.07 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80ac842900>>#new
0.07 0.109 0.003 0.000 0.106 1000 Faraday::Connection#build_request
0.07 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#response_headers
0.07 0.003 0.003 0.000 0.001 1000 Enumerable#map
0.07 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abc08568>#status
0.07 0.295 0.003 0.000 0.293 1000 Ethon::Easy#mirror
0.06 0.003 0.003 0.000 0.000 2000 Fixnum#to_s
0.06 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abbfb4a8>#params_encoder
0.06 0.004 0.003 0.000 0.001 1000 URI::Generic#set_scheme
0.06 0.003 0.003 0.000 0.000 1000 URI::Generic#path_query
0.06 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80abbfb4a8>>#new
0.06 0.003 0.003 0.000 0.000 1000 <Module::ObjectSpace>#define_finalizer
0.06 0.061 0.002 0.000 0.059 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#dump
0.06 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.06 0.006 0.002 0.000 0.003 1000 Faraday::Adapter#call
0.06 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Form#initialize
0.06 0.009 0.002 0.000 0.007 1000 <Module::Typhoeus::Pool>#get
0.06 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#response_headers=
0.06 0.002 0.002 0.000 0.000 1000 Module#const_defined?
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Env#needs_body?
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Connection#proxy
0.06 0.003 0.002 0.000 0.001 1000 Hash#==
0.06 0.002 0.002 0.000 0.000 1000 Faraday::Response#initialize
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Env#parallel?
0.06 0.002 0.002 0.000 0.000 1000 Typhoeus::EasyFactory#initialize
0.06 0.002 0.002 0.000 0.000 1000 Kernel#method
0.06 0.002 0.002 0.000 0.000 1000 Typhoeus::Response#mock
0.06 0.008 0.002 0.000 0.006 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.06 0.100 0.002 0.000 0.097 1000 Enumerable#detect
0.06 0.003 0.002 0.000 0.001 1000 Ethon::Easy::Queryable#build_query_pairs
0.06 0.004 0.002 0.000 0.002 1000 URI::Generic#relative?
0.06 0.002 0.002 0.000 0.000 2000 String#upcase
0.06 0.002 0.002 0.000 0.000 3001 #<Class:0x007f80abbfb278>#verify
0.06 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Response#initialize
0.06 0.002 0.002 0.000 0.000 3000 String#to_s
0.06 0.003 0.002 0.000 0.001 1000 Time#+
0.06 0.333 0.002 0.000 0.330 1000 Ethon::Easy#set_attributes
0.06 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#headers
0.06 0.002 0.002 0.000 0.000 1000 String#index
0.05 0.002 0.002 0.000 0.000 1000 Rational#/
0.05 0.002 0.002 0.000 0.000 1000 Faraday::Utils::ParamsHash#merge_query
0.05 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#params
0.05 0.002 0.002 0.000 0.000 1000 Ethon::Loggable#logger
0.05 0.002 0.002 0.000 0.000 859 <Module::Ethon::Curl>#slist_free_all
0.05 0.002 0.002 0.000 0.000 1000 Faraday::Options#symbolized_key_set
0.05 0.003 0.002 0.000 0.001 1000 Enumerable#find
0.05 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#body=
0.05 0.007 0.002 0.000 0.005 1000 Kernel#!~
0.05 0.002 0.002 0.000 0.000 1000 Ethon::Easy::DebugInfo#initialize
0.05 0.003 0.002 0.000 0.001 1000 Time#<=>
0.05 0.002 0.002 0.000 0.000 1000 Typhoeus::Request::Streamable#streaming?
0.05 0.002 0.002 0.000 0.000 1000 Faraday::RackBuilder#app
0.05 0.007 0.002 0.000 0.005 1000 Enumerable#any?
0.05 0.004 0.002 0.000 0.002 1000 Numeric#quo
0.05 0.002 0.002 0.000 0.000 1000 <Class::Typhoeus::Expectation>#all
0.05 0.006 0.002 0.000 0.004 859 FFI::AutoPointer::CallableReleaser#release
0.05 0.002 0.002 0.000 0.000 1000 Faraday::Utils#default_params_encoder
0.04 0.002 0.002 0.000 0.000 2000 Hash#to_hash
0.04 0.002 0.002 0.000 0.000 1000 Module#const_get
0.04 0.002 0.002 0.000 0.000 2000 Hash#merge!
0.04 0.002 0.002 0.000 0.000 2000 Kernel#initialize_copy
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Callbacks#header_write_callback
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#version
0.04 0.002 0.002 0.000 0.000 2000 Array#first
0.04 0.003 0.002 0.000 0.001 1000 Rational#to_f
0.04 0.002 0.002 0.000 0.000 1000 Typhoeus::Response::Informations#response_headers
0.04 0.005 0.002 0.000 0.003 1000 Comparable#>
0.04 0.002 0.002 0.000 0.000 1000 Typhoeus::Response::Informations#response_body
0.04 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#parallel_manager
0.04 0.004 0.002 0.000 0.002 859 Method#call
0.04 0.002 0.002 0.000 0.000 1000 String#capitalize
0.04 0.002 0.002 0.000 0.000 1000 Typhoeus::Request::Memoizable#memoizable?
0.04 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80ac842900>#options
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Callbacks#body_write_callback
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#verify_mode
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_host
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Callbacks#debug_callback
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_registry
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#split_userinfo
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_fragment
0.04 0.001 0.001 0.000 0.000 1000 String#include?
0.04 0.001 0.001 0.000 0.000 1000 URI::Generic#set_path
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#private_key
0.04 0.001 0.001 0.000 0.000 1000 String#initialize_copy
0.04 0.001 0.001 0.000 0.000 1000 String#chop
0.04 0.001 0.001 0.000 0.000 1000 MultiJson::Options#default_load_options
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#verify_depth
0.04 0.001 0.001 0.000 0.000 1000 Ethon::Easy::Http::Actionable#url
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#cert_store
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#client_cert
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#ca_file
0.04 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#ca_path
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb278>#verify=
0.03 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#certificate
0.03 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#client_key
0.03 0.001 0.001 0.000 0.000 1000 String#to_i
0.03 0.001 0.001 0.000 0.000 1000 URI::Generic#set_opaque
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#params=
0.03 0.001 0.001 0.000 0.000 1000 String#to_sym
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#options=
0.03 0.001 0.001 0.000 0.000 1000 Integer#chr
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path=
0.03 0.001 0.001 0.000 0.000 1000 Struct#initialize_copy
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method=
0.03 0.001 0.001 0.000 0.000 1000 FFI::Pointer#initialize
0.03 0.001 0.001 0.000 0.000 1000 Array#shift
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers=
0.03 0.001 0.001 0.000 0.000 1000 Array#sort!
0.03 0.001 0.001 0.000 0.000 1000 String#===
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body
0.03 0.001 0.001 0.000 0.000 1000 Hash#fetch
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.03 0.001 0.001 0.000 0.000 1000 Array#pop
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#headers=
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request=
0.02 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl
0.02 0.001 0.001 0.000 0.000 1001 Kernel#freeze
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url=
0.02 0.001 0.001 0.000 0.000 1000 FFI::Pointer#type_size
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body=
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#method
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response=
0.02 0.001 0.001 0.000 0.000 1000 <Class::String>#try_convert
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method
0.02 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.02 0.001 0.001 0.000 0.000 1000 Hash#empty?
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#proxy
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path
0.02 0.001 0.001 0.000 0.000 1000 String#bytesize
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#bind
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#boundary
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#open_timeout
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#params
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#timeout
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#oauth
0.00 0.000 0.000 0.000 0.000 1 Set#initialize
0.00 0.000 0.000 0.000 0.000 1 Set#merge
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#lock!
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#new
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#build
0.00 0.000 0.000 0.000 0.000 1 Array#reverse
0.00 0.000 0.000 0.000 0.000 1 Enumerable#each_entry
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#klass
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#to_app
0.00 0.000 0.000 0.000 0.000 1 Faraday::Middleware#initialize
0.00 0.000 0.000 0.000 0.000 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#loaded?
0.00 0.000 0.000 0.000 0.000 1 Set#do_with_enum
0.00 0.000 0.000 0.000 0.000 1 Kernel#instance_of?
* indicates recursively called methods
PASS (0:00:35.434) test_: Elasticsearch client benchmark with a single-node cluster and the Typhoeus client should index a document (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the Typhoeus client should search (1000x)
mean: 4.62ms | avg: 5.30ms | max: 32.78ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 4.451109
Sort by: self_time
%self total self wait child calls name
4.85 0.512 0.216 0.000 0.296 10000 Ethon::Curls::Options#set_option
3.26 0.624 0.145 0.000 0.479 1000 <Module::Ethon::Curl>#easy_perform
2.60 1.730 0.116 0.000 1.614 13002 *Array#each
2.38 0.106 0.106 0.000 0.000 1000 JSON::Ext::Parser#parse
2.37 0.176 0.105 0.000 0.071 20000 Faraday::Options#[]
1.61 0.140 0.072 0.000 0.068 22000 <Module::Ethon::Curl>#easy_getinfo
1.52 0.076 0.068 0.000 0.009 32000 FFI::Enum#to_native
1.49 0.066 0.066 0.000 0.000 57000 Symbol#to_s
1.46 0.065 0.065 0.000 0.000 49000 Hash#[]=
1.43 0.190 0.064 0.000 0.127 12000 Ethon::Curls::Infos#get_info_double
1.40 0.062 0.062 0.000 0.000 5000 Typhoeus::EasyFactory#renamed_options
1.35 0.225 0.060 0.000 0.165 9000 Hash#each
1.27 0.091 0.057 0.000 0.035 4001 Array#reject
1.17 0.350 0.052 0.000 0.298 20003 *Class#new
1.16 0.052 0.052 0.000 0.000 34000 Ethon::Easy::Operations#handle
1.11 0.359 0.050 0.000 0.310 1000 Hash#each_pair
1.11 0.049 0.049 0.000 0.000 33000 FFI::Enum#from_native
1.07 0.048 0.048 0.000 0.000 62000 Symbol#==
0.99 0.044 0.044 0.000 0.000 61000 Symbol#to_sym
0.98 0.106 0.044 0.000 0.062 11000 Faraday::Env#in_member_set?
0.93 0.049 0.041 0.000 0.007 29001 Kernel#respond_to?
0.91 4.386 0.040 0.000 4.345 1000 Elasticsearch::Transport::Transport::Base#perform_request
0.90 0.040 0.040 0.000 0.000 4000 String#split
0.89 0.066 0.040 0.000 0.026 19000 <Class::Faraday::Options>#options_for
0.88 0.039 0.039 0.000 0.000 56001 Kernel#class
0.87 0.112 0.039 0.000 0.074 3000 Faraday::Utils::Headers#initialize
0.84 0.243 0.037 0.000 0.205 11000 Faraday::Env#[]
0.83 0.037 0.037 0.000 0.000 34000 String#downcase
0.82 0.105 0.037 0.000 0.068 4000 Ethon::Curls::Infos#get_info_string
0.81 0.036 0.036 0.000 0.000 24000 Ethon::Curls::Infos#double_ptr
0.78 0.077 0.035 0.000 0.042 5000 Faraday::Utils::Headers#[]=
0.76 0.034 0.034 0.000 0.000 5000 FFI::AbstractMemory#get_bytes
0.75 0.103 0.033 0.000 0.070 6000 Ethon::Curls::Infos#get_info_long
0.73 0.067 0.032 0.000 0.035 1000 URI::Generic#initialize
0.71 0.227 0.032 0.000 0.195 1000 Faraday::Adapter::Typhoeus#configure_ssl
0.66 0.231 0.029 0.000 0.202 3000 *Kernel#tap
0.63 0.028 0.028 0.000 0.000 41013 NilClass#nil?
0.63 0.069 0.028 0.000 0.041 9000 FFI::Pointer#read_string
0.61 0.175 0.027 0.000 0.148 1000 Ethon::Easy::Callbacks#set_callbacks
0.60 0.027 0.027 0.000 0.000 20000 <Class::Faraday::Options>#memoized_attributes
0.58 0.026 0.026 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.57 0.037 0.025 0.000 0.012 13000 Set#include?
0.54 0.024 0.024 0.000 0.000 24000 Hash#include?
0.50 0.022 0.022 0.000 0.000 24000 Kernel#is_a?
0.49 0.022 0.022 0.000 0.000 28000 Kernel#nil?
0.49 0.022 0.022 0.000 0.000 10000 Ethon::Curls::Options#easy_options
0.48 0.022 0.021 0.000 0.001 1000 Time#+
0.44 0.039 0.020 0.000 0.020 12000 Kernel#initialize_dup
0.44 0.048 0.019 0.000 0.028 9000 Kernel#dup
0.42 0.535 0.019 0.000 0.516 1000 Faraday::Adapter::Typhoeus#request
0.41 0.026 0.018 0.000 0.008 4000 <Module::FFI>#find_type
0.41 0.030 0.018 0.000 0.011 1000 URI::Generic#to_s
0.41 0.018 0.018 0.000 0.000 1000 Rational#/
0.40 0.024 0.018 0.000 0.006 2000 Array#collect
0.40 0.018 0.018 0.000 0.000 12000 Ethon::Curls::Infos#long_ptr
0.39 0.027 0.017 0.000 0.010 9000 Array#include?
0.38 0.017 0.017 0.000 0.000 16000 Module#===
0.37 0.016 0.016 0.000 0.000 20000 Struct#[]
0.37 0.017 0.016 0.000 0.001 1000 Enumerable#map
0.36 0.025 0.016 0.000 0.009 3000 Faraday::Utils::Headers#[]
0.34 0.015 0.015 0.000 0.000 11000 <Class::Faraday::Env>#member_set
0.34 0.036 0.015 0.000 0.021 4000 <Module::Ethon::Curl>#easy_setopt_long
0.34 0.015 0.015 0.000 0.000 8000 Hash#initialize_copy
0.33 0.044 0.015 0.000 0.030 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.33 0.037 0.015 0.000 0.022 1000 JSON::Ext::Generator::GeneratorMethods::Hash#to_json
0.33 0.173 0.015 0.000 0.158 1000 Ethon::Easy::Http::Postable#set_form
0.32 0.029 0.014 0.000 0.014 1000 FFI::AutoPointer#initialize
0.32 0.014 0.014 0.000 0.000 17000 Kernel#block_given?
0.31 0.156 0.014 0.000 0.142 1000 MultiJson::Adapters::JsonCommon#load
0.29 0.633 0.013 0.000 0.620 1000 Ethon::Easy::Http::Actionable#setup
0.29 0.321 0.013 0.000 0.308 1000 Faraday::Connection#build_exclusive_url
0.29 0.024 0.013 0.000 0.011 1000 Faraday::Options#fetch
0.28 0.012 0.012 0.000 0.000 8000 Ethon::Curls::Infos#string_ptr
0.27 0.015 0.012 0.000 0.003 3000 Typhoeus::Request::Callbacks::Types#on_complete
0.27 0.024 0.012 0.000 0.012 2000 <Module::Ethon::Curl>#easy_setopt_string
0.26 0.225 0.012 0.000 0.213 5001 *Array#map
0.26 0.012 0.012 0.000 0.000 8000 Faraday::Response#finished?
0.26 0.272 0.012 0.000 0.260 1000 Typhoeus::Request::Callbacks#execute_callbacks
0.26 0.041 0.012 0.000 0.030 4000 <Module::FFI>#type_size
0.26 0.644 0.011 0.000 0.632 2000 <Class::Ethon::Easy::Mirror>#from_easy
0.25 0.011 0.011 0.000 0.000 2000 Regexp#===
0.25 1.474 0.011 0.000 1.463 1000 Ethon::Easy::Operations#perform
0.25 0.013 0.011 0.000 0.002 2000 Typhoeus::Request::Callbacks::Types#on_headers
0.25 0.018 0.011 0.000 0.007 6000 Ethon::Easy::Http::Actionable#form
0.24 0.017 0.011 0.000 0.007 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_url
0.24 0.071 0.011 0.000 0.061 4000 Faraday::Utils::Headers#merge!
0.24 4.451 0.011 0.000 4.440 1 Elasticsearch::Extensions::Test::Profiling#measure
0.24 0.025 0.011 0.000 0.014 1000 URI::Parser#split
0.24 0.014 0.011 0.000 0.003 4000 Typhoeus::Response::Informations#response_code
0.24 0.022 0.011 0.000 0.011 1000 Faraday::Request#url
0.23 0.014 0.010 0.000 0.004 2000 URI::Generic#normalize!
0.23 0.025 0.010 0.000 0.015 1000 Typhoeus::EasyFactory#set_callback
0.23 0.010 0.010 0.000 0.000 5000 Hash#keys
0.22 0.022 0.010 0.000 0.012 2000 <Module::Ethon::Curl>#easy_setopt_callback
0.22 0.019 0.010 0.000 0.009 1000 Typhoeus::Request#set_defaults
0.22 0.193 0.010 0.000 0.184 1000 <Class::MultiJson::Adapter>#load
0.21 0.116 0.009 0.000 0.106 1000 URI::Parser#parse
0.21 0.190 0.009 0.000 0.181 1000 Ethon::Easy#reset
0.21 0.009 0.009 0.000 0.000 12000 FFI::AbstractMemory#read_double
0.21 0.854 0.009 0.000 0.845 1000 Typhoeus::EasyFactory#get
0.20 0.144 0.009 0.000 0.135 1000 URI::Generic#merge0
0.20 0.013 0.009 0.000 0.004 2000 Mutex#synchronize
0.19 0.009 0.009 0.000 0.000 6000 Typhoeus::Request::Responseable#response
0.19 0.020 0.009 0.000 0.011 4000 <Class::Time>#now
0.19 0.009 0.009 0.000 0.000 12000 Hash#key?
0.19 0.015 0.008 0.000 0.006 1000 JSON::Ext::Parser#initialize
0.19 0.339 0.008 0.000 0.330 1000 Faraday::RackBuilder#build_env
0.19 0.059 0.008 0.000 0.051 1000 Elasticsearch::Transport::Transport::Base#get_connection
0.19 0.104 0.008 0.000 0.096 1000 Ethon::Easy::Header#headers=
0.18 0.008 0.008 0.000 0.000 10000 Kernel#respond_to_missing?
0.18 0.016 0.008 0.000 0.008 2000 URI::Generic#query=
0.18 0.032 0.008 0.000 0.023 2000 URI::Generic#normalize
0.18 0.083 0.008 0.000 0.075 1000 URI::Generic#==
0.18 0.014 0.008 0.000 0.006 3000 Faraday::Response#headers
0.18 4.401 0.008 0.000 4.393 1000 BasicObject#instance_eval
0.17 0.011 0.008 0.000 0.003 4000 Time#initialize
0.17 0.023 0.008 0.000 0.016 1000 Typhoeus::Response::Status#success?
0.17 0.019 0.008 0.000 0.011 3000 Hash#merge
0.17 0.053 0.007 0.000 0.045 2000 Ethon::Easy::Informations#httpauth_avail
0.17 0.009 0.007 0.000 0.001 2000 Typhoeus::Request::Callbacks::Types#on_success
0.17 0.297 0.007 0.000 0.290 1000 Typhoeus::Request::Operations#finish
0.16 0.014 0.007 0.000 0.007 2000 <Class::Ethon::Easy::Mirror>#informations_to_mirror
0.16 0.065 0.007 0.000 0.058 1000 <Class::MultiJson::Adapter>#dump
0.16 3.987 0.007 0.000 3.979 10000 *Proc#call
0.16 0.154 0.007 0.000 0.147 1000 Faraday::Adapter#save_response
0.16 0.027 0.007 0.000 0.020 1000 Ethon::Easy::Http#fabricate
0.16 0.044 0.007 0.000 0.038 2000 Ethon::Easy::Informations#total_time
0.15 0.007 0.007 0.000 0.000 4000 FFI::AbstractMemory#get_string
0.15 0.016 0.007 0.000 0.010 4000 Typhoeus::EasyFactory#easy
0.15 0.116 0.007 0.000 0.109 1000 Faraday::Utils::Headers#parse
0.15 0.450 0.007 0.000 0.443 1000 Faraday::Response#finish
0.15 0.065 0.007 0.000 0.059 2000 Ethon::Easy::Informations#effective_url
0.14 0.009 0.006 0.000 0.002 3000 URI::Generic#userinfo
0.14 0.006 0.006 0.000 0.000 4000 String#encode
0.14 3.896 0.006 0.000 3.890 1000 Faraday::Connection#run_request
0.14 0.010 0.006 0.000 0.004 2000 MultiJson#current_adapter
0.14 2.341 0.006 0.000 2.334 1000 Typhoeus::Request::Operations#run
0.14 0.041 0.006 0.000 0.034 2000 Ethon::Easy::Informations#pretransfer_time
0.14 0.040 0.006 0.000 0.034 2000 Ethon::Easy::Informations#appconnect_time
0.14 0.006 0.006 0.000 0.000 8000 Integer#to_i
0.14 0.040 0.006 0.000 0.034 2000 Ethon::Easy::Informations#connect_time
0.14 0.031 0.006 0.000 0.024 1000 Time#-
0.14 0.040 0.006 0.000 0.034 2000 Ethon::Easy::Informations#namelookup_time
0.14 0.448 0.006 0.000 0.442 3000 *Faraday::Options#update
0.14 0.040 0.006 0.000 0.034 2000 Ethon::Easy::Informations#starttransfer_time
0.14 0.099 0.006 0.000 0.093 2000 Faraday::Options#key?
0.14 0.058 0.006 0.000 0.052 2000 Ethon::Easy::Informations#primary_ip
0.14 0.040 0.006 0.000 0.034 2000 Ethon::Easy::Informations#response_code
0.13 0.006 0.006 0.000 0.000 3000 URI::Generic#absolute?
0.13 0.011 0.006 0.000 0.005 2000 Faraday::Response#body
0.13 0.009 0.006 0.000 0.003 2000 MultiJson::Options#dump_options
0.13 0.031 0.006 0.000 0.025 1000 Typhoeus::Request#initialize
0.13 0.011 0.006 0.000 0.005 2000 Faraday::Response#status
0.13 3.427 0.006 0.000 3.421 1000 Faraday::Adapter::Typhoeus#call
0.13 0.039 0.006 0.000 0.033 2000 Ethon::Easy::Informations#redirect_count
0.13 0.233 0.006 0.000 0.227 1000 URI::Generic#merge
0.13 0.006 0.006 0.000 0.000 4000 Fixnum#<<
0.13 0.039 0.006 0.000 0.034 2000 URI::Generic#component_ary
0.13 0.006 0.006 0.000 0.000 4001 Struct#members
0.13 0.016 0.006 0.000 0.010 2000 Ethon::Easy::Queryable#to_s
0.13 0.123 0.006 0.000 0.118 1000 URI::Parser#convert_to_uri
0.13 0.009 0.006 0.000 0.003 2000 <Class::#<Class:0x007f80abc08568>>#new
0.13 0.020 0.006 0.000 0.014 1000 Typhoeus::Request::Callbacks#execute_headers_callbacks
0.13 0.381 0.006 0.000 0.375 1000 Ethon::Easy::ResponseCallbacks#headers
0.13 0.006 0.006 0.000 0.000 4000 FFI::AbstractMemory#read_pointer
0.13 0.010 0.006 0.000 0.004 2000 URI::Generic#component
0.12 0.006 0.006 0.000 0.000 2000 Typhoeus::Response#initialize
0.12 0.011 0.006 0.000 0.005 2000 URI::Generic#default_port
0.12 0.088 0.005 0.000 0.083 2001 Faraday::Options#keys
0.12 2.382 0.005 0.000 2.377 1000 Typhoeus::Request::Before#run
0.12 0.009 0.005 0.000 0.004 3000 *MultiJson::Options#load_options
0.12 0.007 0.005 0.000 0.002 1000 URI::Generic#set_userinfo
0.12 0.058 0.005 0.000 0.053 2000 Faraday::Adapter::Typhoeus#parallel?
0.12 0.005 0.005 0.000 0.000 4000 Struct#initialize
0.12 0.008 0.005 0.000 0.003 1000 URI::Generic#set_port
0.12 0.005 0.005 0.000 0.000 6000 Hash#[]
0.12 0.005 0.005 0.000 0.000 2000 URI::Generic#check_query
0.12 0.008 0.005 0.000 0.003 3000 Ethon::Easy::Queryable#query_pairs
0.11 0.011 0.005 0.000 0.006 1000 <Module::Ethon::Curl>#easy_setopt_debug_callback
0.11 0.005 0.005 0.000 0.000 6000 FFI::AbstractMemory#read_long
0.11 0.005 0.005 0.000 0.000 1000 MatchData#[]
0.11 0.640 0.005 0.000 0.635 1000 Ethon::Easy::Http::Post#setup
0.11 0.005 0.005 0.000 0.000 1000 String#=~
0.11 3.773 0.005 0.000 3.768 1000 Faraday::RackBuilder#build_response
0.11 0.204 0.005 0.000 0.199 1000 MultiJson#load
0.11 2.948 0.005 0.000 2.943 1000 Faraday::Adapter::Typhoeus#perform_request
0.11 0.005 0.005 0.000 0.000 3001 Hash#initialize
0.11 0.018 0.005 0.000 0.013 1000 Elasticsearch::Transport::Transport::Connections::Collection#get_connection
0.11 0.005 0.005 0.000 0.000 1000 <Module::Ethon::Curl>#easy_reset
0.11 0.016 0.005 0.000 0.011 1000 Typhoeus::Request::Cacheable#response=
0.11 0.043 0.005 0.000 0.038 1000 Faraday::Adapter::Typhoeus#configure_timeout
0.11 0.013 0.005 0.000 0.008 1000 Ethon::Easy::Http::Actionable#params
0.11 0.006 0.005 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin#select
0.11 0.428 0.005 0.000 0.424 2000 *Faraday::Options#each
0.10 4.390 0.005 0.000 4.386 1000 Elasticsearch::Transport::Transport::HTTP::Faraday#perform_request
0.10 0.004 0.004 0.000 0.000 4000 Fixnum#<
0.10 0.005 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#on_headers
0.10 2.371 0.004 0.000 2.367 1000 Typhoeus::Request::Stubbable#run
0.10 0.004 0.004 0.000 0.000 3000 Ethon::Easy::Queryable#empty?
0.10 0.201 0.004 0.000 0.197 1000 <Module::Typhoeus::Pool>#release
0.10 0.004 0.004 0.000 0.000 2000 Ethon::Easy::Mirror#initialize
0.10 0.055 0.004 0.000 0.051 1000 Ethon::Easy::Options#url=
0.10 0.006 0.004 0.000 0.002 1000 Faraday::Request#params=
0.10 0.827 0.004 0.000 0.823 1000 Ethon::Easy::ResponseCallbacks#complete
0.10 2.355 0.004 0.000 2.351 1000 Typhoeus::Request::BlockConnection#run
0.10 0.006 0.004 0.000 0.002 1000 Faraday::Request#headers=
0.10 0.009 0.004 0.000 0.005 1000 Typhoeus::Request::Memoizable#response=
0.09 0.004 0.004 0.000 0.000 5000 Fixnum#+
0.09 0.051 0.004 0.000 0.046 1000 Faraday::Utils::ParamsHash#to_query
0.09 2.346 0.004 0.000 2.342 1000 Typhoeus::Request::Cacheable#run
0.09 0.005 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#on_complete
0.09 0.004 0.004 0.000 0.000 3000 URI::Generic#set_query
0.09 0.005 0.004 0.000 0.001 1000 Elasticsearch::Transport::Transport::Connections::Connection#full_path
0.09 0.005 0.004 0.000 0.001 1000 Logger#add
0.09 0.009 0.004 0.000 0.005 1000 <Module::Ethon::Curl>#easy_setopt_ffipointer
0.09 0.004 0.004 0.000 0.000 4000 Hash#delete
0.09 0.108 0.004 0.000 0.104 2000 <Class::Faraday::Utils::Headers>#from
0.09 0.008 0.004 0.000 0.004 1000 Ethon::Easy::Util#escape_zero_byte
0.09 0.004 0.004 0.000 0.000 3000 Ethon::Easy::Http::Actionable#options
0.09 0.012 0.004 0.000 0.008 1000 <Class::Typhoeus::Expectation>#response_for
0.09 0.005 0.004 0.000 0.001 1000 <Module::Typhoeus>#before
0.09 0.004 0.004 0.000 0.000 2000 <Module::URI>#scheme_list
0.09 0.004 0.004 0.000 0.000 4000 FFI::Pointer#null?
0.09 0.127 0.004 0.000 0.124 1000 JSON#parse
0.09 0.005 0.004 0.000 0.001 1000 Ethon::Easy::ResponseCallbacks#body
0.09 0.041 0.004 0.000 0.038 1000 MultiJson::Adapters::JsonCommon#dump
0.09 0.004 0.004 0.000 0.000 2000 String#force_encoding
0.08 0.004 0.004 0.000 0.000 4000 Hash#has_key?
0.08 0.134 0.004 0.000 0.130 1000 Typhoeus::EasyFactory#sanitize
0.08 0.080 0.004 0.000 0.077 1000 Elasticsearch::Transport::Transport::Base#__convert_to_json
0.08 0.065 0.004 0.000 0.061 1000 Ethon::Easy::Options#ssl_verifyhost=
0.08 0.063 0.004 0.000 0.060 1000 Ethon::Easy::Options#ssl_verifypeer=
0.08 0.004 0.004 0.000 0.000 4000 Kernel#kind_of?
0.08 0.440 0.004 0.000 0.437 2000 *<Class::Faraday::Options>#from
0.08 0.011 0.004 0.000 0.008 1000 Ethon::Easy::Header#compose_header
0.08 0.006 0.004 0.000 0.002 1000 JSON::Ext::Generator::State#initialize
0.08 0.004 0.004 0.000 0.000 2000 MultiJson#adapter
0.08 0.671 0.004 0.000 0.667 1000 Ethon::Easy::Http#http_request
0.08 0.073 0.004 0.000 0.070 1000 Ethon::Easy::Options#postfieldsize=
0.08 0.036 0.004 0.000 0.032 1000 Faraday::Adapter::Typhoeus#configure_proxy
0.08 0.004 0.004 0.000 0.000 2000 <Class::URI::Generic>#default_port
0.08 0.046 0.004 0.000 0.042 1000 Ethon::Easy::Options#copypostfields=
0.08 0.066 0.004 0.000 0.062 1000 Ethon::Easy::Options#maxredirs=
0.08 0.003 0.003 0.000 0.000 4000 FFI::Type#size
0.08 0.003 0.003 0.000 0.000 2000 Typhoeus::Request::Cacheable#cacheable?
0.08 0.073 0.003 0.000 0.069 1000 MultiJson#dump
0.08 0.003 0.003 0.000 0.000 2000 <Class::MultiJson::Adapters::JsonGem>#instance
0.08 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#status=
0.08 0.009 0.003 0.000 0.006 1000 Typhoeus::Response::Status#timed_out?
0.07 0.009 0.003 0.000 0.006 1000 Ethon::Easy::Http::Actionable#initialize
0.07 0.004 0.003 0.000 0.001 1000 Typhoeus::Request::BlockConnection#blocked?
0.07 0.008 0.003 0.000 0.005 1000 <Class::MultiJson::Adapter>#blank?
0.07 0.003 0.003 0.000 0.000 2000 Typhoeus::Response::Informations#return_code
0.07 0.003 0.003 0.000 0.000 1000 Typhoeus::Request::Responseable#response=
0.07 0.071 0.003 0.000 0.067 1000 URI::HTTP#initialize
0.07 0.017 0.003 0.000 0.014 1000 Ethon::Easy::Form#multipart?
0.07 0.008 0.003 0.000 0.005 1000 Logger#debug
0.07 0.011 0.003 0.000 0.008 1000 Faraday::Utils::ParamsHash#merge
0.07 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#body
0.07 0.003 0.003 0.000 0.000 2000 <Module::Typhoeus::Pool>#easies
0.07 0.111 0.003 0.000 0.108 1000 <Class::Faraday::Request>#create
0.07 0.003 0.003 0.000 0.000 2000 MultiJson::Options#default_dump_options
0.07 4.393 0.003 0.000 4.390 1000 Elasticsearch::Transport::Client#perform_request
0.07 0.026 0.003 0.000 0.023 1000 Faraday::Adapter::Typhoeus#read_body
0.07 0.008 0.003 0.000 0.005 1000 <Class::Typhoeus::Expectation>#find_by
0.07 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80ac842900>>#new
0.07 0.003 0.003 0.000 0.000 1000 FFI::AutoPointer::Releaser#initialize
0.07 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abc08568>#status
0.07 0.003 0.003 0.000 0.000 1000 URI::Generic#parser
0.07 0.025 0.003 0.000 0.022 1000 Faraday::Options#merge
0.07 0.032 0.003 0.000 0.029 1000 Faraday::Adapter::Typhoeus#configure_socket
0.07 0.009 0.003 0.000 0.006 975 FFI::AutoPointer::Releaser#call
0.07 0.003 0.003 0.000 0.000 1000 <Module::Ethon::Curl>#slist_append
0.07 0.004 0.003 0.000 0.001 1000 Faraday::Utils::ParamsHash#update
0.07 0.003 0.003 0.000 0.000 1000 Array#==
0.06 0.308 0.003 0.000 0.305 1000 Ethon::Easy#mirror
0.06 0.003 0.003 0.000 0.000 1001 Kernel#lambda
0.06 0.004 0.003 0.000 0.001 1000 <Class::#<Class:0x007f80abbfb4a8>>#new
0.06 0.003 0.003 0.000 0.000 2000 <Class::URI::Generic>#component
0.06 0.207 0.003 0.000 0.204 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#load
0.06 0.005 0.003 0.000 0.002 1000 Time#<=>
0.06 0.003 0.003 0.000 0.000 1000 Ethon::Easy::Params#initialize
0.06 0.004 0.003 0.000 0.001 1000 URI::Generic#set_scheme
0.06 0.003 0.003 0.000 0.000 4000 #<Class:0x007f80abc08568>#response_headers
0.06 0.114 0.003 0.000 0.111 1000 Faraday::Connection#build_request
0.06 0.003 0.003 0.000 0.000 3000 #<Class:0x007f80abbfb4a8>#params_encoder
0.06 0.003 0.003 0.000 0.000 1000 Faraday::Response#initialize
0.06 0.006 0.003 0.000 0.003 1000 Faraday::Adapter#call
0.06 0.003 0.003 0.000 0.000 1000 Typhoeus::Response#mock
0.06 0.003 0.003 0.000 0.000 2000 #<Class:0x007f80abc08568>#response_headers=
0.06 0.003 0.003 0.000 0.000 1000 URI::Generic#path_query
0.06 0.003 0.003 0.000 0.000 2000 Fixnum#to_s
0.06 0.003 0.003 0.000 0.001 1000 Faraday::Connection#proxy
0.06 0.003 0.003 0.000 0.000 1000 Ethon::Easy::Form#initialize
0.06 0.003 0.003 0.000 0.000 1000 Elasticsearch::Transport::Transport::Response#initialize
0.06 0.003 0.003 0.000 0.000 3001 #<Class:0x007f80abbfb278>#verify
0.06 0.075 0.003 0.000 0.073 1000 Elasticsearch::Transport::Transport::Serializer::MultiJson#dump
0.06 0.002 0.002 0.000 0.000 1000 Typhoeus::EasyFactory#initialize
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Env#parallel?
0.06 0.002 0.002 0.000 0.000 1000 Elasticsearch::Transport::Transport::Connections::Connection#dead?
0.06 0.003 0.002 0.000 0.001 1000 Faraday::Env#needs_body?
0.06 0.003 0.002 0.000 0.001 1000 Ethon::Easy::Queryable#build_query_pairs
0.05 0.010 0.002 0.000 0.007 1000 <Module::Typhoeus::Pool>#get
0.05 0.002 0.002 0.000 0.000 1000 Kernel#method
0.05 0.002 0.002 0.000 0.000 1000 String#index
0.05 0.002 0.002 0.000 0.000 3000 String#to_s
0.05 0.005 0.002 0.000 0.002 1000 URI::Generic#relative?
0.05 0.002 0.002 0.000 0.000 1000 <Module::ObjectSpace>#define_finalizer
0.05 0.002 0.002 0.000 0.000 2000 String#upcase
0.05 0.002 0.002 0.000 0.000 1000 Module#const_defined?
0.05 0.106 0.002 0.000 0.103 1000 Enumerable#detect
0.05 0.362 0.002 0.000 0.359 1000 Ethon::Easy#set_attributes
0.05 0.002 0.002 0.000 0.000 1000 Ethon::Loggable#logger
0.05 0.003 0.002 0.000 0.001 1000 Hash#==
0.05 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#headers
0.05 0.008 0.002 0.000 0.006 1000 Elasticsearch::Transport::Transport::Connections::Collection#connections
0.05 0.002 0.002 0.000 0.000 3000 #<Class:0x007f80ac842900>#params
0.05 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#body=
0.05 0.002 0.002 0.000 0.000 1000 Ethon::Easy::DebugInfo#initialize
0.05 0.002 0.002 0.000 0.000 1000 Faraday::Options#symbolized_key_set
0.05 0.002 0.002 0.000 0.000 1000 Faraday::Utils::ParamsHash#merge_query
0.05 0.020 0.002 0.000 0.018 1000 Numeric#quo
0.05 0.008 0.002 0.000 0.006 1000 Enumerable#any?
0.05 0.002 0.002 0.000 0.000 975 <Module::Ethon::Curl>#slist_free_all
0.05 0.007 0.002 0.000 0.005 1000 Kernel#!~
0.05 0.002 0.002 0.000 0.000 1000 Faraday::RackBuilder#app
0.05 0.002 0.002 0.000 0.000 1000 Typhoeus::Request::Streamable#streaming?
0.04 0.007 0.002 0.000 0.005 1000 Comparable#>
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Callbacks#header_write_callback
0.04 0.003 0.002 0.000 0.001 1000 Rational#to_f
0.04 0.006 0.002 0.000 0.004 975 FFI::AutoPointer::CallableReleaser#release
0.04 0.002 0.002 0.000 0.000 1000 Module#const_get
0.04 0.003 0.002 0.000 0.001 1000 Enumerable#find
0.04 0.002 0.002 0.000 0.000 1000 Typhoeus::Response::Informations#response_headers
0.04 0.002 0.002 0.000 0.000 2000 Array#first
0.04 0.002 0.002 0.000 0.000 1000 Faraday::Utils#default_params_encoder
0.04 0.002 0.002 0.000 0.000 1000 Typhoeus::Request::Memoizable#memoizable?
0.04 0.002 0.002 0.000 0.000 1000 String#capitalize
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#split_userinfo
0.04 0.002 0.002 0.000 0.000 2000 Hash#to_hash
0.04 0.002 0.002 0.000 0.000 1000 <Class::Typhoeus::Expectation>#all
0.04 0.004 0.002 0.000 0.002 975 Method#call
0.04 0.002 0.002 0.000 0.000 1000 Typhoeus::Response::Informations#response_body
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Callbacks#body_write_callback
0.04 0.002 0.002 0.000 0.000 2000 Hash#merge!
0.04 0.002 0.002 0.000 0.000 1000 String#include?
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#version
0.04 0.002 0.002 0.000 0.000 1000 MultiJson::Options#default_load_options
0.04 0.002 0.002 0.000 0.000 1000 String#initialize_copy
0.04 0.002 0.002 0.000 0.000 2000 Kernel#initialize_copy
0.04 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80ac842900>#options
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#private_key
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#client_cert
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Callbacks#debug_callback
0.04 0.002 0.002 0.000 0.000 2000 #<Class:0x007f80abc08568>#parallel_manager
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_registry
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#verify_depth
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_host
0.04 0.002 0.002 0.000 0.000 1000 Ethon::Easy::Http::Actionable#url
0.04 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#verify_mode
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_fragment
0.04 0.002 0.002 0.000 0.000 1000 URI::Generic#set_path
0.03 0.002 0.002 0.000 0.000 1000 String#chop
0.03 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#cert_store
0.03 0.002 0.002 0.000 0.000 1000 #<Class:0x007f80abbfb278>#verify=
0.03 0.002 0.002 0.000 0.000 2001 #<Class:0x007f80abbfb278>#ca_path
0.03 0.002 0.002 0.000 0.000 1000 URI::Generic#set_opaque
0.03 0.002 0.002 0.000 0.000 1000 String#to_sym
0.03 0.001 0.001 0.000 0.000 1000 String#to_i
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#params=
0.03 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#ca_file
0.03 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#client_key
0.03 0.001 0.001 0.000 0.000 2001 #<Class:0x007f80abbfb278>#certificate
0.03 0.001 0.001 0.000 0.000 1000 Struct#initialize_copy
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path=
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method=
0.03 0.001 0.001 0.000 0.000 1000 Integer#chr
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#options=
0.03 0.001 0.001 0.000 0.000 1000 Array#shift
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers=
0.03 0.001 0.001 0.000 0.000 1000 FFI::Pointer#initialize
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#fdiv
0.03 0.001 0.001 0.000 0.000 1000 Array#sort!
0.03 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request=
0.03 0.001 0.001 0.000 0.000 1000 Array#pop
0.03 0.001 0.001 0.000 0.000 1000 String#===
0.03 0.001 0.001 0.000 0.000 1000 Fixnum#<=>
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url=
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl=
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#ssl
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response=
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#headers=
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#method
0.02 0.001 0.001 0.000 0.000 1000 Hash#fetch
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#body=
0.02 0.001 0.001 0.000 0.000 1001 Kernel#freeze
0.02 0.001 0.001 0.000 0.000 1000 FFI::Pointer#type_size
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#method
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#open_timeout
0.02 0.001 0.001 0.000 0.000 1000 <Class::String>#try_convert
0.02 0.001 0.001 0.000 0.000 1000 Fixnum#-
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#bind
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request
0.02 0.001 0.001 0.000 0.000 1000 Hash#empty?
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#proxy
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#url
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#boundary
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80ac842900>#path
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#params
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#request_headers
0.02 0.001 0.001 0.000 0.000 1000 String#bytesize
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abc08568>#response
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#oauth
0.02 0.001 0.001 0.000 0.000 1000 #<Class:0x007f80abbfb4a8>#timeout
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#build
0.00 0.000 0.000 0.000 0.000 1 Set#merge
0.00 0.000 0.000 0.000 0.000 1 Set#initialize
0.00 0.000 0.000 0.000 0.000 1 Set#do_with_enum
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#lock!
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#new
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder#to_app
0.00 0.000 0.000 0.000 0.000 1 <Class::Faraday::Middleware>#loaded?
0.00 0.000 0.000 0.000 0.000 1 Enumerable#inject
0.00 0.000 0.000 0.000 0.000 1 Faraday::RackBuilder::Handler#klass
0.00 0.000 0.000 0.000 0.000 1 Array#reverse
0.00 0.000 0.000 0.000 0.000 1 Faraday::Middleware#initialize
0.00 0.000 0.000 0.000 0.000 1 Enumerable#each_entry
0.00 0.000 0.000 0.000 0.000 1 Kernel#instance_of?
* indicates recursively called methods
PASS (0:00:41.369) test_: Elasticsearch client benchmark with a single-node cluster and the Typhoeus client should search (1000x).
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Context: with a single-node cluster and the default adapter should get the cluster info (1000x)
mean: 2.90ms | avg: 3.46ms | max: 31.30ms
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thread ID: 70095305303780
Fiber ID: 70095305542800
Total: 3.155011
Sort by: self_time
%self total self wait child calls name
7.14 0.225 0.225 0.000 0.000 1000 TCPSocket#initialize
4.08 0.246 0.129 0.000 0.117 1998 IO#read_nonblock
3.52 0.396 0.111 0.000 0.285 6001 *Array#each
3.50 0.114 0.111 0.000 0.004 998 SystemCallError#initialize
2.50 0.169 0.079 0.000 0.090 3000 URI::Generic#initialize
1.91 0.221 0.060 0.000 0.161 10000 Hash#each
1.86 0.099 0.059 0.000 0.041 12000 Faraday::Options#[]
1.35 0.043 0.043 0.000 0.000 44000 String#downcase
1.26 0.073 0.040 0.000 0.033 6000 Faraday::Utils::Headers#[]=
1.23 0.064 0.039 0.000 0.025 19000 <Class::Faraday::Options>#options_for
1.17 0.491 0.037 0.000 0.454 13001 Class#new
1.14 3.112 0.036 0.000 3.076 1000 Elasticsearch::Transport::Transport::Base#perform_request
1.12 0.035 0.035 0.000 0.000 51000 Kernel#class
1.06 0.033 0.033 0.000 0.000 9000 String#split
1.04 0.080 0.033 0.000 0.047 9000 Faraday::Env#in_member_set?
0.93 0.106 0.029 0.000 0.077 1000 <Class::Net::HTTPResponse>#each_response_header
0.88 0.182 0.028 0.000 0.154 9000 Faraday::Env#[]
0.87 0.056 0.027 0.000 0.029 3000 URI::Parser#split
0.86 0.027 0.027 0.000 0.000 39000 Symbol#to_sym
0.83 0.117 0.026 0.000 0.090 1000 Net::HTTPGenericRequest#initialize
0.81 0.025 0.025 0.000 0.000 19000 <Class::Faraday::Options>#attribute_options
0.78 0.146 0.025 0.000 0.121 2000 Kernel#tap
0.77 0.038 0.024 0.000 0.013 9000 Net::HTTPHeader#[]
0.74 0.044 0.023 0.000 0.021 2000 URI::Generic#find_proxy
0.73 0.284 0.023 0.000 0.261 3000 URI::Parser#parse
0.72 0.405 0.023 0.000 0.383 1000 Net::HTTP#connect
0.68 0.338 0.021 0.000 0.316 4000 Net::BufferedIO#readuntil
0.66 0.043 0.021 0.000 0.023 1000 Net::HTTP#initialize
0.65 0.021 0.021 0.000 0.000 18001 Hash#[]=
0.65 0.030 0.020 0.000 0.010 11000 Set#include?
0.65 0.031 0.020 0.000 0.011 7000 Array#map
0.64 0.020 0.020 0.000 0.000 14000 Array#join
0.64 0.020 0.020 0.000 0.000 998 <Class::IO>#select
0.63 0.026 0.020 0.000 0.006 13000 Kernel#respond_to?
0.61 0.019 0.019 0.000 0.000 4000 Regexp#===
0.60 0.019 0.019 0.000 0.000 1000 IO#close
0.58 0.018 0.018 0.000 0.000 1000 IO#write
0.57 0.018 0.018 0.000 0.000 17998 Module#===
0.56 0.059 0.018 0.000 0.041 1000 Net::HTTP#begin_transport
0.56 0.030 0.018 0.000 0.013 5000 Net::BufferedIO#rbuf_consume
0.55 0.070 0.017 0.000 0.052 5000 Net::HTTPHeader#capitalize
0.55 0.041 0.017 0.000 0.023 8000 Kernel#dup
0.54 2.451 0.017 0.000 2.434 1000 Faraday::Adapter::NetHttp#call
0.53 0.022 0.017 0.000 0.006 2000 Array#collect
0.51 0.082 0.016 0.000 0.066 1000 Net::HTTPResponse#inflater
0.51 0.043 0.016 0.000 0.027 4000 Net::HTTPGenericRequest#[]=
0.51 0.283 0.016 0.000 0.267 1000 Net::BufferedIO#rbuf_fill
0.50 0.108 0.016 0.000 0.093 4000 Net::HTTPResponse#read_body
0.50 0.071 0.016 0.000 0.056 3000 Faraday::Utils::Headers#initialize
0.49 0.015 0.015 0.000 0.000 20002 NilClass#nil?
0.48 0.015 0.015 0.000 0.000 12000 <Class::Faraday::Options>#memoized_attributes
0.48 1.511 0.015 0.000 1.496 1000 Net::HTTP#start
0.46 0.023 0.015 0.000 0.009 4000 Net::HTTPHeader#[]=
0.45 0.028 0.014 0.000 0.014 9000 Kernel#initialize_dup
0.44 0.018 0.014 0.000 0.005 3000 URI::Generic#set_userinfo
0.43 0.892 0.014 0.000 0.879 1000 Kernel#catch
0.43 0.028 0.014 0.000 0.015 1000 <Module::Faraday::NestedParamsEncoder>#encode
0.43 0.020 0.013 0.000 0.007 3000 URI::Generic#set_port
0.42 0.013 0.013 0.000 0.000 14000 Hash#include?
0.40 0.023 0.013 0.000 0.010 1000 Net::BufferedIO#read
0.40 0.013 0.013 0.000 0.000 3000 String#sub
0.40 0.013 0.013 0.000 0.000 5000 String#slice!
0.37 0.270 0.012 0.000 0.258 1000 Faraday::Connection#build_exclusive_url
0.37 0.012 0.012 0.000 0.000 9000 <Class::Faraday::Env>#member_set
0.37 0.012 0.012 0.000 0.000 1000 JSON::Ext::Parser#parse
0.35 0.119 0.011 0.000 0.108 1000 Net::HTTPResponse#reading_body
0.35 0.011 0.011 0.000 0.000 8000 Faraday::Response#finished?
0.35 0.011 0.011 0.000 0.000 14000 Kernel#respond_to_missing?
0.34 0.015 0.011 0.000 0.004 8000 String#===
0.34 0.011 0.011 0.000 0.000 14000 Hash#key?
0.33 0.054 0.010 0.000 0.044 4000 Faraday::Utils::Headers#merge!
0.33 0.264 0.010 0.000 0.254 2000 Net::HTTP#proxy_uri
0.32 0.010 0.010 0.000 0.000 8000 Symbol#to_s
0.31 0.207 0.010 0.000 0.198 2000 Kernel#URI
0.31 0.010 0.010 0.000 0.000 3000 MatchData#[]
0.31 0.071 0.010 0.000 0.061 1000 Net::HTTP#end_transport
0.31 0.020 0.010 0.000 0.010 1000 Faraday::Request#url
0.31 3.155 0.010 0.000 3.145 1 Elasticsearch::Extensions::Test::Profiling#measure
0.30 0.009 0.009 0.000 0.000 5000 Hash#initialize_copy
0.30 0.009 0.009 0.000 0.000 5000 URI::Generic#absolute?
0.29 0.018 0.009 0.000 0.008 2000 Net::HTTPHeader#add_field
0.29 0.009 0.009 0.000 0.000 12000 Struct#[]
0.29 0.013 0.009 0.000 0.004 2000 URI::Generic#normalize!
0.29 0.012 0.009 0.000 0.003 1000 Net::HTTPResponse#initialize
0.29 0.013 0.009 0.000 0.004 4000 Net::BufferedIO#closed?
0.29 0.053 0.009 0.000 0.044 1000 MultiJson::Adapters::JsonCommon#load
0.29 0.009 0.009 0.000 0.000 6000 <Module::URI>#scheme_list
0.28 0.009 0.009 0.000 0.000 11000 Kernel#block_given?
0.28 0.009 0.009 0.000 0.000 5000 String#index
0.28 0.009 0.009 0.000 0.000 11999 Kernel#nil?
0.27 0.013 0.009 0.000 0.005 1000 Net::HTTP#addr_port