Created
September 8, 2011 20:56
-
-
Save jsuchal/1204682 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restclient 8.81s vs Curb 0.98s wow! | |
%Total %Self Total Self Wait Child Calls Name Line | |
10.76 0.12 0.00 10.64 5204/5204 Tire::DSL#search 10 | |
90.70% 1.01% 10.76 0.12 0.00 10.64 5204 Tire::Search::Search#perform 69 | |
8.81 0.03 0.00 8.78 2602/2602 <Class::Tire::HTTP::Client::RestClient>#get 70 | |
0.98 0.03 0.00 0.95 2602/2602 <Class::Tire::HTTP::Client::Curb>#get 70 | |
0.32 0.03 0.00 0.29 5204/5204 <Module::MultiJson>#decode 75 | |
0.26 0.02 0.00 0.24 5204/5204 Tire::Search::Search#to_json 70 | |
0.15 0.02 0.00 0.13 5204/50843 Class#new 76 | |
0.05 0.02 0.00 0.04 5204/5206 Tire::HTTP::Response#failure? 71 | |
0.04 0.03 0.00 0.02 5204/5204 Tire::Search::Search#logged 79 | |
0.01 0.01 0.00 0.00 5204/5214 <Class::Tire::Configuration>#client 70 | |
Digging deeper seems like Net::HTTP#transmit is slow. | |
6.50 0.11 0.00 6.39 2606/2606 RestClient::Request#execute 64 | |
54.78% 0.90% 6.50 0.11 0.00 6.39 2606 RestClient::Request#transmit 141 | |
5.90 0.08 0.00 5.82 2606/2606 Net::HTTP#start 170 | |
0.31 0.02 0.00 0.29 2606/2606 Net::HTTP#verify_mode= 147 | |
0.10 0.02 0.00 0.08 2606/2606 <Class::Net::HTTP>#new 144 | |
0.03 0.02 0.00 0.00 2606/2606 Net::HTTP#use_ssl= 145 | |
0.01 0.01 0.00 0.01 2606/2606 RestClient::Request#log_request 168 | |
0.01 0.01 0.00 0.00 2606/2606 RestClient::Request#net_http_class 144 | |
0.01 0.01 0.00 0.00 2606/2606 RestClient::Request#setup_credentials 142 | |
0.01 0.01 0.00 0.00 2606/2606 <Module::RestClient>#before_execution_procs 164 | |
0.00 0.00 0.00 0.00 2606/9343 Kernel#== 146 | |
0.00 0.00 0.00 0.00 2606/19098 Kernel#is_a? 145 | |
0.00 0.00 0.00 0.00 2606/5138 Array#each 164 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment