picatz / goldengirl

✨ All that shimmers is gold!
MIT License
3 stars 0 forks source link

apache benchmarking #5

Open picatz opened 6 years ago

picatz commented 6 years ago

If we have the time, it'd be nice to do some benchmarking to get an idea of things.

Base Installation

This is a test completed on a base installation of Apache.

ab -n 1000000 -c 100 -k http://localhost:80/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
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 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests

Server Software:        Apache/2.4.6
Server Hostname:        localhost
Server Port:            80

Document Path:          /
Document Length:        4897 bytes

Concurrency Level:      100
Time taken for tests:   82.116 seconds
Complete requests:      1000000
Failed requests:        0
Write errors:           0
Non-2xx responses:      1000000
Keep-Alive requests:    990153
Total transferred:      5203566761 bytes
HTML transferred:       4897000000 bytes
Requests per second:    12177.95 [#/sec] (mean)
Time per request:       8.212 [ms] (mean)
Time per request:       0.082 [ms] (mean, across all concurrent requests)
Transfer rate:          61883.58 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       4
Processing:     0    8   1.9      8     118
Waiting:        0    8   1.9      8     118
Total:          0    8   1.9      8     120

Percentage of the requests served within a certain time (ms)
  50%      8
  66%      8
  75%      9
  80%      9
  90%     10
  95%     11
  98%     15
  99%     16
 100%    120 (longest request)
picatz commented 6 years ago

Note Benchmarking is a dark art, full of lies.