Skip to content

Instantly share code, notes, and snippets.

@hgomez
Created March 17, 2024 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hgomez/dc4cd694fc74125d3f47226e379016b8 to your computer and use it in GitHub Desktop.
Save hgomez/dc4cd694fc74125d3f47226e379016b8 to your computer and use it in GitHub Desktop.
MacBookPro 10.1 / OSX Sonoma (thanks to OpenCore Legacy Patcher)

MacBookPro 10.1 - CPU i7 3740QM

$ sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz

OSX Sonoma

$ sw_vers
ProductName:		macOS
ProductVersion:		14.4
BuildVersion:		23E214

Tomcat 8.5.99 benchs

Java 17

openjdk version "17.0.9" 2023-10-17 LTS
OpenJDK Runtime Environment Zulu17.46+19-CA (build 17.0.9+8-LTS)
OpenJDK 64-Bit Server VM Zulu17.46+19-CA (build 17.0.9+8-LTS, mixed mode, sharing)
ab -n 10000 -c 25 http://localhost:8080/examples/servlets/servlet/HelloWorldExample

This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8080

Document Path:          /examples/servlets/servlet/HelloWorldExample
Document Length:        395 bytes

Concurrency Level:      25
Time taken for tests:   1.377 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      5840000 bytes
HTML transferred:       3950000 bytes
Requests per second:    7260.26 [#/sec] (mean)
Time per request:       3.443 [ms] (mean)
Time per request:       0.138 [ms] (mean, across all concurrent requests)
Transfer rate:          4140.62 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    2   9.1      1     253
Processing:     1    2   8.7      1     253
Waiting:        1    2   8.7      1     253
Total:          2    3  12.6      3     255

Percentage of the requests served within a certain time (ms)
  50%      3
  66%      3
  75%      3
  80%      3
  90%      4
  95%      4
  98%      4
  99%      4
 100%    255 (longest request)

Tomcat 9.0.87

ab -n 10000 -c 25 http://localhost:8080/examples/servlets/servlet/HelloWorldExample

This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8080

Document Path:          /examples/servlets/servlet/HelloWorldExample
Document Length:        395 bytes

Concurrency Level:      25
Time taken for tests:   1.418 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      5840000 bytes
HTML transferred:       3950000 bytes
Requests per second:    7054.47 [#/sec] (mean)
Time per request:       3.544 [ms] (mean)
Time per request:       0.142 [ms] (mean, across all concurrent requests)
Transfer rate:          4023.26 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        0    2   7.3      2     205
Processing:     1    2   6.7      2     205
Waiting:        1    2   6.8      2     205
Total:          2    3  10.0      3     206

Percentage of the requests served within a certain time (ms)
 50%      3
 66%      3
 75%      3
 80%      3
 90%      4
 95%      4
 98%      4
 99%      4
100%    206 (longest request)

Tomcat 10.1.19

ab -n 10000 -c 25 http://localhost:8080/examples/servlets/servlet/HelloWorldExample

This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8080

Document Path:          /examples/servlets/servlet/HelloWorldExample
Document Length:        395 bytes

Concurrency Level:      25
Time taken for tests:   1.382 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      5840000 bytes
HTML transferred:       3950000 bytes
Requests per second:    7236.16 [#/sec] (mean)
Time per request:       3.455 [ms] (mean)
Time per request:       0.138 [ms] (mean, across all concurrent requests)
Transfer rate:          4126.87 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    2   8.6      1     240
Processing:     0    2   8.3      1     240
Waiting:        0    2   8.3      1     240
Total:          2    3  11.9      3     241

Percentage of the requests served within a certain time (ms)
  50%      3
  66%      3
  75%      3
  80%      3
  90%      4
  95%      4
  98%      4
  99%      4
 100%    241 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment