Skip to content

Commit

Permalink
[docs] added benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Aug 11, 2010
1 parent c887a75 commit bbed176
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmarks/ReadMe
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Benchmarks are being run on a development laptop using apache ab (everything running locally, on one machine)

These benchmarks should not be considered very accurate, or indicative of actual results. There are numerous factors that could cause these numbers to be inaccurate. These benchmarks should only be considered a very basic baseline to determine changes in performance as we iterate on this project.
56 changes: 56 additions & 0 deletions benchmarks/http-server-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[Marak@Maraks-MacBook-Pro ~/dev/zalgo.js]$ ab -c 50 -n 1000 -k http://127.0.0.1:9000/
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname: 127.0.0.1
Server Port: 9000

Document Path: /
Document Length: 149 bytes

Concurrency Level: 50
Time taken for tests: 0.178 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 0
Total transferred: 213213 bytes
HTML transferred: 149149 bytes
Requests per second: 5627.84 [#/sec] (mean)
Time per request: 8.884 [ms] (mean)
Time per request: 0.178 [ms] (mean, across all concurrent requests)
Transfer rate: 1171.81 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 0.9 1 5
Processing: 3 8 2.6 7 17
Waiting: 1 7 2.4 7 17
Total: 5 9 2.4 8 17

Percentage of the requests served within a certain time (ms)
50% 8
66% 9
75% 9
80% 10
90% 13
95% 14
98% 15
99% 16
100% 17 (longest request)
56 changes: 56 additions & 0 deletions benchmarks/proxy-to-http
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[Marak@Maraks-MacBook-Pro ~]$ ab -c 5 -n 1000 http://127.0.0.1:8000/
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname: 127.0.0.1
Server Port: 8000

Document Path: /
Document Length: 155 bytes

Concurrency Level: 5
Time taken for tests: 0.602 seconds
Complete requests: 1000
Failed requests: 5
(Connect: 0, Receive: 0, Length: 5, Exceptions: 0)
Write errors: 0
Total transferred: 247030 bytes
HTML transferred: 155030 bytes
Requests per second: 1660.64 [#/sec] (mean)
Time per request: 3.011 [ms] (mean)
Time per request: 0.602 [ms] (mean, across all concurrent requests)
Transfer rate: 400.61 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 1
Processing: 2 3 0.8 3 10
Waiting: 2 3 0.8 3 10
Total: 2 3 0.8 3 10

Percentage of the requests served within a certain time (ms)
50% 3
66% 3
75% 3
80% 3
90% 3
95% 4
98% 5
99% 9
100% 10 (longest request)

0 comments on commit bbed176

Please sign in to comment.