hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpcomponents Wiki] Update of "HttpClient3vsHttpClient4vsHttpCore" by OlegKalnichevski
Date Fri, 23 May 2014 13:46:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" for change notification.

The "HttpClient3vsHttpClient4vsHttpCore" page has been changed by OlegKalnichevski:
https://wiki.apache.org/HttpComponents/HttpClient3vsHttpClient4vsHttpCore?action=diff&rev1=12&rev2=13

  
  === Components versions ===
   
-  * Beanchmark revision {{{r1482761}}}
+  * Beanchmark revision {{{r1594594}}}
  
-  * Apache !HttpCore: {{{4.3-BETA2}}}
+  * Apache !HttpCore: {{{4.3.2}}}
  
-  * Apache !HttpClient: {{{4.3-BETA1}}}
+  * Apache !HttpClient: {{{4.3.4-SNAPSHOT, r1597031}}}
  
-  * Apache !HttpAsyncClient: {{{4.0-BETA4}}}
+  * Apache !HttpAsyncClient: {{{4.0.2-SNAPSHOT, r1597034}}}
  
-  * Jetty: {{{8.1.7.v20120910}}}
+  * Jetty: {{{8.1.15.v20140411}}}
  
-  * Ning AHC: {{{1.7.12}}}
+  * Ning AHC: {{{1.8.8}}}
  
  == Benchmark results ==
  
  {{{
- Linux ubuntu 3.5.0-26-generic #42-Ubuntu SMP Fri Mar 8 23:18:20 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux
+ Linux ubuntu 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64
x86_64 GNU/Linux
  }}}
  
  {{{
@@ -45, +45 @@

  === 1'000'000 requests / up to 50 concurrent connections ===
  
  {{{
- =================================
+ ================================
  HTTP agent: JRE HTTP 1.7.0_21
  ---------------------------------
  1000000 POST requests
  ---------------------------------
+ Document URI:		http://localhost:44000/echo
+ Document Length:	2048 bytes
+ 
+ Concurrency level:	50
+ Time taken for tests:	63.966 seconds
+ Complete requests:	1000000
+ Failed requests:	0
+ Content transferred:	2048000000 bytes
+ Requests per second:	15633.306 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: Apache HttpClient 3.1
+ ---------------------------------
+ 1000000 POST requests
+ ---------------------------------
+ Document URI:		http://localhost:48602/echo
+ Document Length:	2048 bytes
+ 
+ Concurrency level:	50
+ Time taken for tests:	59.289 seconds
+ Complete requests:	1000000
+ Failed requests:	0
+ Content transferred:	2048000000 bytes
+ Requests per second:	16866.535 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: Apache HttpClient (ver: 4.3.4-SNAPSHOT)
+ ---------------------------------
+ 1000000 POST requests
+ ---------------------------------
- Document URI:		http://localhost:53649/echo
+ Document URI:		http://localhost:53471/echo
  Document Length:	2048 bytes
  
  Concurrency level:	50
+ Time taken for tests:	45.177 seconds
+ Complete requests:	1000000
+ Failed requests:	0
+ Content transferred:	2048000000 bytes
+ Requests per second:	22135.158 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: HttpCore NIO (ver: 4.3.2)
+ ---------------------------------
+ 1000000 POST requests
+ ---------------------------------
+ Document URI:		http://localhost:43233/echo
+ Document Length:	2048 bytes
+ 
+ Concurrency level:	50
- Time taken for tests:	54.03 seconds
+ Time taken for tests:	51.83 seconds
  Complete requests:	1000000
  Failed requests:	0
  Content transferred:	2048000000 bytes
+ Requests per second:	19293.844 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: Apache HttpAsyncClient (ver: 4.0.2-SNAPSHOT)
+ ---------------------------------
+ 1000000 POST requests
+ ---------------------------------
+ Document URI:		http://localhost:41274/echo
+ Document Length:	2048 bytes
+ 
+ Concurrency level:	50
+ Time taken for tests:	51.359 seconds
+ Complete requests:	1000000
+ Failed requests:	0
+ Content transferred:	2048000000 bytes
- Requests per second:	18508.236 [#/sec] (mean)
+ Requests per second:	19470.783 [#/sec] (mean)
  ---------------------------------
  =================================
- HTTP agent: Apache HttpClient (ver: 4.3-beta1)
+ HTTP agent: Jetty 8.1.15.v20140411
  ---------------------------------
  1000000 POST requests
  ---------------------------------
- Document URI:		http://localhost:53649/echo
+ Document URI:		http://localhost:59923/echo
  Document Length:	2048 bytes
  
  Concurrency level:	50
- Time taken for tests:	36.474 seconds
+ Time taken for tests:	102.148 seconds
  Complete requests:	1000000
  Failed requests:	0
  Content transferred:	2048000000 bytes
- Requests per second:	27416.791 [#/sec] (mean)
- ---------------------------------
- =================================
- HTTP agent: HttpCore NIO (ver: 4.3-beta2)
- ---------------------------------
- 1000000 POST requests
- ---------------------------------
- Document URI:		http://localhost:53649/echo
- Document Length:	2048 bytes
- 
- Concurrency level:	50
- Time taken for tests:	38.926 seconds
- Complete requests:	1000000
- Failed requests:	0
- Content transferred:	2048000000 bytes
- Requests per second:	25689.771 [#/sec] (mean)
+ Requests per second:	9789.717 [#/sec] (mean)
  ---------------------------------
  =================================
- HTTP agent: Apache HttpAsyncClient (ver: 4.0-beta4)
- ---------------------------------
- 1000000 POST requests
- ---------------------------------
- Document URI:		http://localhost:53649/echo
- Document Length:	2048 bytes
- 
- Concurrency level:	50
- Time taken for tests:	43.318 seconds
- Complete requests:	1000000
- Failed requests:	0
- Content transferred:	2048000000 bytes
- Requests per second:	23085.092 [#/sec] (mean)
- ---------------------------------
- =================================
- HTTP agent: Jetty 8.1.7.v20120910
- ---------------------------------
- 1000000 POST requests
- ---------------------------------
- Document URI:		http://localhost:53649/echo
- Document Length:	2048 bytes
- 
- Concurrency level:	50
- Time taken for tests:	73.568 seconds
- Complete requests:	1000000
- Failed requests:	0
- Content transferred:	2048000000 bytes
- Requests per second:	13592.866 [#/sec] (mean)
- ---------------------------------
- =================================
- HTTP agent: Ning async HTTP client 1.7.12
+ HTTP agent: Ning async HTTP client 1.8.8
  ---------------------------------
  1000000 POST requests
  ---------------------------------
- Document URI:		http://localhost:53649/echo
+ Document URI:		http://localhost:33588/echo
  Document Length:	2048 bytes
  
  Concurrency level:	50
- Time taken for tests:	53.284 seconds
+ Time taken for tests:	55.961 seconds
  Complete requests:	1000000
  Failed requests:	0
  Content transferred:	2048000000 bytes
- Requests per second:	18767.36 [#/sec] (mean)
+ Requests per second:	17869.588 [#/sec] (mean)
  ---------------------------------
  }}}
  
@@ -145, +160 @@

  ---------------------------------
  100000 POST requests
  ---------------------------------
+ Document URI:		http://localhost:50207/echo
+ Document Length:	204800 bytes
+ 
+ Concurrency level:	50
+ Time taken for tests:	34.201 seconds
+ Complete requests:	100000
+ Failed requests:	0
+ Content transferred:	20480000000 bytes
+ Requests per second:	2923.891 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: Apache HttpClient 3.1
+ ---------------------------------
+ 100000 POST requests
+ ---------------------------------
- Document URI:		http://localhost:34489/echo
+ Document URI:		http://localhost:59881/echo
  Document Length:	204800 bytes
  
  Concurrency level:	50
+ Time taken for tests:	36.824 seconds
+ Complete requests:	100000
+ Failed requests:	0
+ Content transferred:	20480000000 bytes
+ Requests per second:	2715.62 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: Apache HttpClient (ver: 4.3.4-SNAPSHOT)
+ ---------------------------------
+ 100000 POST requests
+ ---------------------------------
+ Document URI:		http://localhost:60236/echo
+ Document Length:	204800 bytes
+ 
+ Concurrency level:	50
- Time taken for tests:	33.739 seconds
+ Time taken for tests:	33.737 seconds
  Complete requests:	100000
  Failed requests:	0
  Content transferred:	20480000000 bytes
- Requests per second:	2963.9292 [#/sec] (mean)
+ Requests per second:	2964.1047 [#/sec] (mean)
  ---------------------------------
  =================================
+ HTTP agent: HttpCore NIO (ver: 4.3.2)
+ ---------------------------------
+ 100000 POST requests
+ ---------------------------------
+ Document URI:		http://localhost:55236/echo
+ Document Length:	204800 bytes
+ 
+ Concurrency level:	50
+ Time taken for tests:	30.707 seconds
+ Complete requests:	100000
+ Failed requests:	0
+ Content transferred:	20480000000 bytes
+ Requests per second:	3256.5864 [#/sec] (mean)
+ ---------------------------------
+ =================================
- HTTP agent: Apache HttpClient (ver: 4.3-beta1)
+ HTTP agent: Apache HttpAsyncClient (ver: 4.0.2-SNAPSHOT)
  ---------------------------------
  100000 POST requests
  ---------------------------------
+ Document URI:		http://localhost:49116/echo
+ Document Length:	204800 bytes
+ 
+ Concurrency level:	50
+ Time taken for tests:	32.466 seconds
+ Complete requests:	100000
+ Failed requests:	0
+ Content transferred:	20480000000 bytes
+ Requests per second:	3080.1455 [#/sec] (mean)
+ ---------------------------------
+ =================================
+ HTTP agent: Jetty 8.1.15.v20140411
+ ---------------------------------
+ 100000 POST requests
+ ---------------------------------
- Document URI:		http://localhost:34489/echo
+ Document URI:		http://localhost:41482/echo
  Document Length:	204800 bytes
  
  Concurrency level:	50
- Time taken for tests:	28.608 seconds
+ Time taken for tests:	48.036 seconds
  Complete requests:	100000
  Failed requests:	0
  Content transferred:	20480000000 bytes
- Requests per second:	3495.5256 [#/sec] (mean)
- ---------------------------------
- =================================
- HTTP agent: HttpCore NIO (ver: 4.3-beta2)
- ---------------------------------
- 100000 POST requests
- ---------------------------------
- Document URI:		http://localhost:34489/echo
- Document Length:	204800 bytes
- 
- Concurrency level:	50
- Time taken for tests:	25.417 seconds
- Complete requests:	100000
- Failed requests:	0
- Content transferred:	20480000000 bytes
- Requests per second:	3934.3748 [#/sec] (mean)
- ---------------------------------
- =================================
- HTTP agent: Apache HttpAsyncClient (ver: 4.0-beta4)
- ---------------------------------
- 100000 POST requests
- ---------------------------------
- Document URI:		http://localhost:34489/echo
- Document Length:	204800 bytes
- 
- Concurrency level:	50
- Time taken for tests:	25.716 seconds
- Complete requests:	100000
- Failed requests:	0
- Content transferred:	20480000000 bytes
- Requests per second:	3888.6296 [#/sec] (mean)
+ Requests per second:	2081.772 [#/sec] (mean)
  ---------------------------------
  =================================
- HTTP agent: Jetty 8.1.7.v20120910
- ---------------------------------
- 100000 POST requests
- ---------------------------------
- Document URI:		http://localhost:34489/echo
- Document Length:	204800 bytes
- 
- Concurrency level:	50
- Time taken for tests:	70.245 seconds
- Complete requests:	100000
- Failed requests:	0
- Content transferred:	20480000000 bytes
- Requests per second:	1423.5889 [#/sec] (mean)
- ---------------------------------
- =================================
- HTTP agent: Ning async HTTP client 1.7.12
+ HTTP agent: Ning async HTTP client 1.8.8
  ---------------------------------
  100000 POST requests
  ---------------------------------
- Document URI:		http://localhost:34489/echo
+ Document URI:		http://localhost:49403/echo
  Document Length:	204800 bytes
  
  Concurrency level:	50
- Time taken for tests:	38.808 seconds
+ Time taken for tests:	41.687 seconds
  Complete requests:	100000
  Failed requests:	0
  Content transferred:	20480000000 bytes
- Requests per second:	2576.7883 [#/sec] (mean)
+ Requests per second:	2398.8293 [#/sec] (mean)
  ---------------------------------
  }}}
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message