This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree
Skip to end of metadata
Go to start of metadata

HttpCore performance micro-benchmark

Benchmark source code

https://svn.apache.org/repos/asf/httpcomponents/benchmark/httpcore/trunk/

and then execute mvn test

Hardware specs of the system used to execute the benchmark

Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz
Processor cache size: 4096 KB
RAM MemTotal:  3933112 kB

Components versions

  • Beanchmark revision r1464575
  • HttpCore: 4.3-BETA1
  • Jetty: 8.1.7.v20120910
  • Netty: 3.6.2

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
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
---------------------------------------------------------------
Jetty (blocking I/O); version: 8.1.7.v20120910
---------------------------------------------------------------

Server Software:		Jetty(8.1.7.v20120910)
Server Hostname:		localhost
Server Port:			8989
Document Path:			http://localhost:8989/rnd?c=2048
Document Length:		2048 bytes

Concurrency Level:		50
Time taken for tests:		101.296000 seconds
Complete requests:		4999999
Failed requests:		1
Write errors:			0
Kept alive:			4999999
Total transferred:		10239997952 bytes
Requests per second:		49,360.28 [#/sec] (mean)
Time per request:		1.013 [ms] (mean)
Time per request:		0.020 [ms] (mean, across all concurrent requests)
Transfer rate:			101,089.85 [Kbytes/sec] received
				-1 kb/s sent
				101,089.85 kb/s total
---------------------------------------------------------------
---------------------------------------------------------------
HttpCore (blocking I/O); version: 4.3-beta1
---------------------------------------------------------------

Server Software:		HttpCore-Test/1.1
Server Hostname:		localhost
Server Port:			8989
Document Path:			http://localhost:8989/rnd?c=2048
Document Length:		2048 bytes

Concurrency Level:		50
Time taken for tests:		69.299000 seconds
Complete requests:		5000000
Failed requests:		0
Write errors:			0
Kept alive:			5000000
Total transferred:		10240000000 bytes
Requests per second:		72,151.11 [#/sec] (mean)
Time per request:		0.693 [ms] (mean)
Time per request:		0.014 [ms] (mean, across all concurrent requests)
Transfer rate:			147,765.48 [Kbytes/sec] received
				-1 kb/s sent
				147,765.48 kb/s total
---------------------------------------------------------------
---------------------------------------------------------------
Jetty (NIO); version: 8.1.7.v20120910
---------------------------------------------------------------

Server Software:		Jetty(8.1.7.v20120910)
Server Hostname:		localhost
Server Port:			8989
Document Path:			http://localhost:8989/rnd?c=2048
Document Length:		2048 bytes

Concurrency Level:		50
Time taken for tests:		87.334000 seconds
Complete requests:		5000000
Failed requests:		0
Write errors:			0
Kept alive:			5000000
Total transferred:		10240000000 bytes
Requests per second:		57,251.47 [#/sec] (mean)
Time per request:		0.873 [ms] (mean)
Time per request:		0.017 [ms] (mean, across all concurrent requests)
Transfer rate:			117,251.01 [Kbytes/sec] received
				-1 kb/s sent
				117,251.01 kb/s total
---------------------------------------------------------------
---------------------------------------------------------------
HttpCore (NIO); version: 4.3-beta1
---------------------------------------------------------------

Server Software:		HttpCore-NIO-Test/1.1
Server Hostname:		localhost
Server Port:			8989
Document Path:			http://localhost:8989/rnd?c=2048
Document Length:		2048 bytes

Concurrency Level:		50
Time taken for tests:		86.098000 seconds
Complete requests:		5000000
Failed requests:		0
Write errors:			0
Kept alive:			5000000
Total transferred:		10240000000 bytes
Requests per second:		58,073.36 [#/sec] (mean)
Time per request:		0.861 [ms] (mean)
Time per request:		0.017 [ms] (mean, across all concurrent requests)
Transfer rate:			118,934.24 [Kbytes/sec] received
				-1 kb/s sent
				118,934.24 kb/s total
---------------------------------------------------------------
---------------------------------------------------------------
Netty; version: 3.6.2
---------------------------------------------------------------

Server Software:		null
Server Hostname:		localhost
Server Port:			8989
Document Path:			http://localhost:8989/rnd?c=2048
Document Length:		2048 bytes

Concurrency Level:		50
Time taken for tests:		79.597000 seconds
Complete requests:		5000000
Failed requests:		0
Write errors:			0
Kept alive:			5000000
Total transferred:		10240000000 bytes
Requests per second:		62,816.44 [#/sec] (mean)
Time per request:		0.796 [ms] (mean)
Time per request:		0.016 [ms] (mean, across all concurrent requests)
Transfer rate:			128,648.06 [Kbytes/sec] received
				-1 kb/s sent
				128,648.06 kb/s total
---------------------------------------------------------------
  • No labels