Skip to content

Instantly share code, notes, and snippets.

@gunesmes
Created December 12, 2014 15:25
Show Gist options
  • Save gunesmes/e298fa6a5598482b83a8 to your computer and use it in GitHub Desktop.
Save gunesmes/e298fa6a5598482b83a8 to your computer and use it in GitHub Desktop.
Apache AB for server performance testing
~ ab -n 5000 -c 100 http://10.0.2.85:8080/id/540dae3162c7744fbb000004
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 10.0.2.85 (be patient)
Completed 500 requests
Completed 1000 requests
Completed 1500 requests
Completed 2000 requests
Completed 2500 requests
Completed 3000 requests
Completed 3500 requests
Completed 4000 requests
Completed 4500 requests
Completed 5000 requests
Finished 5000 requests
Server Software: beegoServer:1.4.1
Server Hostname: 10.0.2.85
Server Port: 8080
Document Path: /id/540dae3162c7744fbb000004
Document Length: 985 bytes
Concurrency Level: 100
Time taken for tests: 25.551 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 5955000 bytes
HTML transferred: 4925000 bytes
Requests per second: 195.69 [#/sec] (mean)
Time per request: 511.010 [ms] (mean)
Time per request: 5.110 [ms] (mean, across all concurrent requests)
Transfer rate: 227.61 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 4 57 31.1 55 132
Processing: 183 450 128.0 421 1003
Waiting: 183 449 128.0 421 1003
Total: 268 507 132.1 478 1027
Percentage of the requests served within a certain time (ms)
50% 478
66% 527
75% 564
80% 588
90% 665
95% 763
98% 961
99% 988
100% 1027 (longest request)
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment