Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 57962 invoked from network); 18 Oct 2010 13:55:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 13:55:46 -0000 Received: (qmail 96986 invoked by uid 500); 18 Oct 2010 13:55:46 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 96875 invoked by uid 500); 18 Oct 2010 13:55:46 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 96863 invoked by uid 99); 18 Oct 2010 13:55:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 13:55:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 13:55:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9IDtO5Q006266 for ; Mon, 18 Oct 2010 13:55:25 GMT Message-ID: <23731071.21861287410124930.JavaMail.jira@thor> Date: Mon, 18 Oct 2010 09:55:24 -0400 (EDT) From: "Sebb (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-925) HttpClient 4.0.1 is approx. 3 time slower then older 3.1 when works against www.google.com In-Reply-To: <1972233046.120581267915227228.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922077#action_12922077 ] Sebb commented on HTTPCLIENT-925: --------------------------------- I suggest you use a protocol analyzer such as WireShark. You can use this to determine the elapsed time between sending the request to GWS and getting the responses, which is outside HttpClient's control. > HttpClient 4.0.1 is approx. 3 time slower then older 3.1 when works against www.google.com > ------------------------------------------------------------------------------------------ > > Key: HTTPCLIENT-925 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-925 > Project: HttpComponents HttpClient > Issue Type: Improvement > Reporter: Oleksandr Alesinskyy > Priority: Minor > Attachments: google.zip > > > I have tried benchmarks from httpclient-benchmark - results are some what funny - while for most tried sites 4.0.1 is marginally faster then 3.1, for a couple of sites it is significantly slower, the most noticeable for www.google.com, test were repeated multiple times, here are sample output from 4.0.1 and 3..1 > *4.0.1* > Server Software: gws > Document URI: http://www.google.com > Document Length: 8459 bytes > Time taken for tests: 3.952 seconds > Complete requests: 10 > Failed requests: 0 > Content transferred: 84524 bytes > Requests per second: 2.5303645 [#/sec] (mean) > Time per request: 395.2 [ms] (mean) > *3.1* > Server Software: gws > Document URI: http://www.google.com > Document Length: 6847 bytes > Time taken for tests: 1.354 seconds > Complete requests: 10 > Failed requests: 0 > Content transferred: 68488 bytes > Requests per second: 7.3855247 [#/sec] (mean) > Time per request: 135.4 [ms] (mean) > It is interesting, why. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org