Skip to content

Instantly share code, notes, and snippets.

@niftylettuce
Created September 7, 2012 10:22
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 niftylettuce/2a51219e077f58732791 to your computer and use it in GitHub Desktop.
Save niftylettuce/2a51219e077f58732791 to your computer and use it in GitHub Desktop.
node v0.8.8 vs node v0.6.14 (with and without node's cluster module) - Intel 2330M w/ 4cpus @ 2.2ghz and 8gb ram
atlantis@atlantis ~/Public $ ab -k -n 50000 -c 100 -t 20 http://dev.startup.com:3000/
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 dev.startup.com (be patient)
Finished 572 requests
Server Software:
Server Hostname: dev.startup.com
Server Port: 3000
Document Path: /
Document Length: 34306 bytes
Concurrency Level: 100
Time taken for tests: 20.100 seconds
Complete requests: 572
Failed requests: 0
Write errors: 0
Keep-Alive requests: 572
Total transferred: 19817196 bytes
HTML transferred: 19623032 bytes
Requests per second: 28.46 [#/sec] (mean)
Time per request: 3513.949 [ms] (mean)
Time per request: 35.139 [ms] (mean, across all concurrent requests)
Transfer rate: 962.83 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.1 0 5
Processing: 1303 3149 1464.9 2522 6244
Waiting: 1303 3149 1464.9 2522 6244
Total: 1307 3150 1464.9 2522 6244
Percentage of the requests served within a certain time (ms)
50% 2522
66% 3927
75% 4701
80% 4788
90% 5431
95% 5609
98% 5722
99% 6000
100% 6244 (longest request)
atlantis@atlantis ~/Public $ ab -k -n 50000 -c 100 -t 20 http://dev.startup.com:3000/
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 dev.startup.com (be patient)
Finished 321 requests
Server Software:
Server Hostname: dev.startup.com
Server Port: 3000
Document Path: /
Document Length: 34306 bytes
Concurrency Level: 100
Time taken for tests: 20.231 seconds
Complete requests: 321
Failed requests: 0
Write errors: 0
Keep-Alive requests: 321
Total transferred: 11121337 bytes
HTML transferred: 11012226 bytes
Requests per second: 15.87 [#/sec] (mean)
Time per request: 6302.425 [ms] (mean)
Time per request: 63.024 [ms] (mean, across all concurrent requests)
Transfer rate: 536.84 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.5 0 6
Processing: 884 5289 1529.7 5991 6439
Waiting: 884 5289 1529.7 5991 6439
Total: 886 5290 1528.6 5991 6439
Percentage of the requests served within a certain time (ms)
50% 5991
66% 6117
75% 6137
80% 6152
90% 6257
95% 6325
98% 6433
99% 6436
100% 6439 (longest request)
atlantis@atlantis ~/Public $ ab -k -n 50000 -c 100 -t 20 http://dev.startup.com:3000/
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 dev.startup.com (be patient)
Finished 612 requests
Server Software:
Server Hostname: dev.startup.com
Server Port: 3000
Document Path: /
Document Length: 34306 bytes
Concurrency Level: 100
Time taken for tests: 20.006 seconds
Complete requests: 612
Failed requests: 0
Write errors: 0
Keep-Alive requests: 612
Total transferred: 21225656 bytes
HTML transferred: 20995272 bytes
Requests per second: 30.59 [#/sec] (mean)
Time per request: 3268.883 [ms] (mean)
Time per request: 32.689 [ms] (mean, across all concurrent requests)
Transfer rate: 1036.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 4
Processing: 65 2917 2832.3 580 6759
Waiting: 65 2917 2832.3 580 6759
Total: 65 2918 2832.7 580 6759
Percentage of the requests served within a certain time (ms)
50% 580
66% 5411
75% 5494
80% 6243
90% 6293
95% 6730
98% 6744
99% 6750
100% 6759 (longest request)
atlantis@atlantis ~/Public $ ab -k -n 50000 -c 100 -t 20 http://dev.startup.com:3000/
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 dev.startup.com (be patient)
Finished 355 requests
Server Software:
Server Hostname: dev.startup.com
Server Port: 3000
Document Path: /
Document Length: 34306 bytes
Concurrency Level: 100
Time taken for tests: 21.780 seconds
Complete requests: 355
Failed requests: 0
Write errors: 0
Keep-Alive requests: 355
Total transferred: 12312356 bytes
HTML transferred: 12178630 bytes
Requests per second: 16.30 [#/sec] (mean)
Time per request: 6135.138 [ms] (mean)
Time per request: 61.351 [ms] (mean, across all concurrent requests)
Transfer rate: 552.06 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.5 0 6
Processing: 3726 5150 636.3 5345 5924
Waiting: 3726 5150 636.3 5345 5924
Total: 3727 5151 635.6 5345 5927
Percentage of the requests served within a certain time (ms)
50% 5345
66% 5370
75% 5407
80% 5415
90% 5916
95% 5921
98% 5924
99% 5925
100% 5927 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment