Skip to content

Instantly share code, notes, and snippets.

@athanclark
Created November 27, 2014 04:47
Show Gist options
  • Save athanclark/e98e5e6c618d401dddeb to your computer and use it in GitHub Desktop.
Save athanclark/e98e5e6c618d401dddeb to your computer and use it in GitHub Desktop.
Hello World Benchmark
athan@namek ~/d/A/LM-scotty-port> ab -n 100000 -c 1000 http://localhost:3000/
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
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 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests
Server Software: Warp/3.0.2.3
Server Hostname: localhost
Server Port: 3000
Document Path: /
Document Length: 121 bytes
Concurrency Level: 1000
Time taken for tests: 16.729 seconds
Complete requests: 100000
Failed requests: 0
Total transferred: 23900000 bytes
HTML transferred: 12100000 bytes
Requests per second: 5977.69 [#/sec] (mean)
Time per request: 167.289 [ms] (mean)
Time per request: 0.167 [ms] (mean, across all concurrent requests)
Transfer rate: 1395.18 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 90 359.8 20 7058
Processing: 7 75 53.6 75 841
Waiting: 3 42 30.2 37 836
Total: 14 166 365.7 125 7204
Percentage of the requests served within a certain time (ms)
50% 125
66% 152
75% 158
80% 162
90% 181
95% 203
98% 1072
99% 1249
100% 7204 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment