mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[docs] added benchmarks
This commit is contained in:
parent
c887a75762
commit
bbed17640f
3
benchmarks/ReadMe
Normal file
3
benchmarks/ReadMe
Normal file
@ -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
benchmarks/http-server-base
Normal file
56
benchmarks/http-server-base
Normal file
@ -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
benchmarks/proxy-to-http
Normal file
56
benchmarks/proxy-to-http
Normal file
@ -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)
|
||||
Loading…
x
Reference in New Issue
Block a user