Created
May 19, 2012 16:12
-
-
Save eugene-dounar/2731355 to your computer and use it in GitHub Desktop.
React vs node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ab -n 10000 -c 100 http://127.0.0.1:1337/ | |
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: 1337 | |
Document Path: / | |
Document Length: 12 bytes | |
Concurrency Level: 100 | |
Time taken for tests: 1.130 seconds | |
Complete requests: 10000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 760000 bytes | |
HTML transferred: 120000 bytes | |
Requests per second: 8853.28 [#/sec] (mean) | |
Time per request: 11.295 [ms] (mean) | |
Time per request: 0.113 [ms] (mean, across all concurrent requests) | |
Transfer rate: 657.08 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.4 0 5 | |
Processing: 1 11 6.3 11 32 | |
Waiting: 1 11 6.3 10 32 | |
Total: 1 11 6.2 11 32 | |
Percentage of the requests served within a certain time (ms) | |
50% 11 | |
66% 14 | |
75% 16 | |
80% 17 | |
90% 19 | |
95% 21 | |
98% 26 | |
99% 28 | |
100% 32 (longest request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ab -n 10000 -c 100 http://127.0.0.1:1337/ | |
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: 1337 | |
Document Path: / | |
Document Length: 12 bytes | |
Concurrency Level: 100 | |
Time taken for tests: 8.807 seconds | |
Complete requests: 10000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 840000 bytes | |
HTML transferred: 120000 bytes | |
Requests per second: 1135.48 [#/sec] (mean) | |
Time per request: 88.069 [ms] (mean) | |
Time per request: 0.881 [ms] (mean, across all concurrent requests) | |
Transfer rate: 93.14 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 4 118.0 0 7011 | |
Processing: 27 30 45.0 29 3455 | |
Waiting: 27 30 45.0 28 3454 | |
Total: 27 34 138.5 29 7699 | |
Percentage of the requests served within a certain time (ms) | |
50% 29 | |
66% 29 | |
75% 29 | |
80% 29 | |
90% 29 | |
95% 30 | |
98% 30 | |
99% 30 | |
100% 7699 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Node would be about 8x faster than React. Correct?