Skip to content

Instantly share code, notes, and snippets.

@sh1mmer sh1mmer/tldr
Created Jul 12, 2012

Embed
What would you like to do?
Silk Vs. Node
enki:~ sh1mmer$ ab -t 30 -k -c 10 "http://127.0.0.1:9090/"
This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
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 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests
Server Software: SILK
Server Hostname: 127.0.0.1
Server Port: 9090
Document Path: /
Document Length: 2412 bytes
Concurrency Level: 10
Time taken for tests: 7.398 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 50000
Total transferred: 129900000 bytes
HTML transferred: 120600000 bytes
Requests per second: 6758.31 [#/sec] (mean)
Time per request: 1.480 [ms] (mean)
Time per request: 0.148 [ms] (mean, across all concurrent requests)
Transfer rate: 17146.57 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 0 1 5.8 1 142
Waiting: 0 1 5.8 1 142
Total: 0 1 5.8 1 142
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 2
95% 4
98% 8
99% 16
100% 142 (longest request)
enki:~ sh1mmer$ ab -t 30 -k -c 10 "http://127.0.0.1:8000/"
This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
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 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8000
Document Path: /
Document Length: 10 bytes
Concurrency Level: 10
Time taken for tests: 2.225 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Non-2xx responses: 50000
Keep-Alive requests: 50000
Total transferred: 7150000 bytes
HTML transferred: 500000 bytes
Requests per second: 22473.59 [#/sec] (mean)
Time per request: 0.445 [ms] (mean)
Time per request: 0.044 [ms] (mean, across all concurrent requests)
Transfer rate: 3138.40 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 0 0 0.3 0 10
Waiting: 0 0 0.3 0 9
Total: 0 0 0.3 0 10
Percentage of the requests served within a certain time (ms)
50% 0
66% 1
75% 1
80% 1
90% 1
95% 1
98% 1
99% 1
100% 10 (longest request)
enki:~ sh1mmer$
Silk - head
Concurrency Level: 10
Time taken for tests: 7.398 seconds
Complete requests: 50000
Node 0.8.2
Concurrency Level: 10
Time taken for tests: 2.225 seconds
Complete requests: 50000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.