Skip to content

Instantly share code, notes, and snippets.

@shaoshing
Created February 11, 2014 06:00
Show Gist options
  • Save shaoshing/8929920 to your computer and use it in GitHub Desktop.
Save shaoshing/8929920 to your computer and use it in GitHub Desktop.
Node.js and Golang results (https://gist.github.com/shaoshing/8928883)
Node.JS
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 127.0.0.1 (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: 127.0.0.1
Server Port: 8000
Document Path: /
Document Length: 1048576 bytes
Concurrency Level: 100
Time taken for tests: 4.378 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 10487818677 bytes
HTML transferred: 10486808576 bytes
Requests per second: 2284.02 [#/sec] (mean)
Time per request: 43.782 [ms] (mean)
Time per request: 0.438 [ms] (mean, across all concurrent requests)
Transfer rate: 2339300.67 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.3 1 9
Processing: 17 43 3.3 43 58
Waiting: 1 3 3.9 1 21
Total: 18 44 3.6 43 66
Percentage of the requests served within a certain time (ms)
50% 43
66% 44
75% 44
80% 45
90% 47
95% 49
98% 53
99% 55
100% 66 (longest request)
Golang
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 127.0.0.1 (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: 127.0.0.1
Server Port: 8000
Document Path: /
Document Length: 1048576 bytes
Concurrency Level: 100
Time taken for tests: 4.505 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 10493922867 bytes
HTML transferred: 10492952188 bytes
Requests per second: 2219.81 [#/sec] (mean)
Time per request: 45.049 [ms] (mean)
Time per request: 0.450 [ms] (mean, across all concurrent requests)
Transfer rate: 2274853.49 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 3 3.0 1 17
Processing: 23 42 3.9 42 63
Waiting: 0 3 3.0 1 17
Total: 25 45 5.3 43 71
Percentage of the requests served within a certain time (ms)
50% 43
66% 45
75% 47
80% 49
90% 52
95% 56
98% 61
99% 62
100% 71 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment