Skip to content
BencoXX edited this page Dec 9, 2022 · 8 revisions

Benchmark Results

Execution parameters

  • Date: 2022.12.09.
  • Git revision: a5d2067
  • JVM: OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu220.04)
  • OS: Linux 5.11.0-43-generic amd64 (64-bit)
  • CPU: Intel® Core™ i7-1165G7 CPU @ 2.80GHz × 8
  • Mem: 31 GiB
=================================
HTTP agent: JRE HttpUrlConnection 17.0.5
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	112.894 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	88578.67 [#/sec] (mean)

=================================
HTTP agent: JRE java.net.http 17.0.5
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	174.623 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	57266.223 [#/sec] (mean)

=================================
HTTP agent: Square’s OkHttp 4.10.0
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	289.719 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	34516.203 [#/sec] (mean)

=================================
HTTP agent: Spring WebFlux WebClient 2.7.6
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	459.125 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	21780.56 [#/sec] (mean)

=================================
HTTP agent: Jetty 9.4.19.v20190610
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	193.021 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	51807.836 [#/sec] (mean)

=================================
HTTP agent: Apache HttpClient 3.1
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	99.936 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	100064.05 [#/sec] (mean)

=================================
HTTP agent: Apache HttpClient (ver: 4.5.11)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	85.302 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	117230.54 [#/sec] (mean)

=================================
HTTP agent: Apache HttpClient (ver: 5.0)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	86.317 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	115852.03 [#/sec] (mean)

=================================
HTTP agent: Apache HttpAsyncClient (ver: 4.1.4)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	113.057 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	88450.96 [#/sec] (mean)

=================================
HTTP agent: Apache HttpAsyncClient (ver: 5.0)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	117.643 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	85002.94 [#/sec] (mean)
=================================
HTTP agent: JRE HttpUrlConnection 17.0.5
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	112.894 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	88578.67 [#/sec] (mean)

=================================
HTTP agent: JRE java.net.http 17.0.5
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	174.623 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	57266.223 [#/sec] (mean)

=================================
HTTP agent: Square’s OkHttp 4.10.0
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	289.719 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	34516.203 [#/sec] (mean)

=================================
HTTP agent: Spring WebFlux WebClient 2.7.6
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	459.125 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	21780.56 [#/sec] (mean)

=================================
HTTP agent: Jetty 9.4.19.v20190610
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	193.021 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	51807.836 [#/sec] (mean)

=================================
HTTP agent: Apache HttpClient 3.1
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	99.936 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	100064.05 [#/sec] (mean)

=================================
HTTP agent: Apache HttpClient (ver: 4.5.11)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	85.302 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	117230.54 [#/sec] (mean)

=================================
HTTP agent: Apache HttpClient (ver: 5.0)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	86.317 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	115852.03 [#/sec] (mean)

=================================
HTTP agent: Apache HttpAsyncClient (ver: 4.1.4)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	113.057 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	88450.96 [#/sec] (mean)

=================================
HTTP agent: Apache HttpAsyncClient (ver: 5.0)
=================================
warming up...
---------------------------------
10000000 GET requests
---------------------------------
Document URI:		http://localhost:8888/rnd?c=2000
Document Length:	2000 bytes
Concurrency level:	8
Time taken for tests:	117.643 seconds
Complete requests:	10000000
Failed requests:	0
Content transferred:	20000000000 bytes
Requests per second:	85002.94 [#/sec] (mean)

Benchmark Results

Execution parameters

  • Git revision: 1892804
  • JVM: SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
  • OS: Linux 4.15.0-51-generic amd64 (64-bit)
  • CPU: Intel® Core™ i5-8250U CPU @ 1.60GHz × 8
  • Mem: 7.6 GiB
=================================
HTTP agent: JRE HttpUrlConnection 11.0.3
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   139.883 seconds
Complete requests:      956481
Failed requests:        43519
Content transferred:    1912962000 bytes
Requests per second:    6837.7217 [#/sec] (mean)
=================================
HTTP agent: Apache HttpClient 3.1
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   34.469 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    29011.574 [#/sec] (mean)
=================================
HTTP agent: Apache HttpClient (ver: 4.5.11)
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   29.866 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    33482.89 [#/sec] (mean)
=================================
HTTP agent: Apache HttpClient (ver: 5.0)
=================================
warming up...
--------------------------------- 56s]
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   29.891 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    33454.887 [#/sec] (mean)
=================================
HTTP agent: JRE java.net.http 11.0.3
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   57.227 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    17474.27 [#/sec] (mean)
=================================
HTTP agent: Jetty 9.4.19.v20190610
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   66.8 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    14970.06 [#/sec] (mean)
=================================
HTTP agent: Apache HttpAsyncClient (ver: 4.1.4)
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   28.985 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    34500.6 [#/sec] (mean)
=================================
HTTP agent: Apache HttpAsyncClient (ver: 5.0)
=================================
warming up...
---------------------------------
1000000 GET requests
---------------------------------
Document URI:           http://localhost:8888/rnd?c=2000
Document Length:        2000 bytes

Concurrency level:      50
Time taken for tests:   29.748 seconds
Complete requests:      1000000
Failed requests:        0
Content transferred:    2000000000 bytes
Requests per second:    33615.707 [#/sec] (mean)

Clone this wiki locally