Test with AB under Apache
Follow: the Apache AB (Stress test tool) Tutorial is referenced below:
http://blog.csdn.net/ahaaaaa/article/details/51514175
Compile version installation and configuration:
Http://www.cnblogs.com/gsls200808/p/4506301.html
MSI: Version download
http://archive.apache.org/dist/httpd/binaries/win32/
Ad can fully simulate a test request initiated against a Web server under various conditions, and it can also initiate a test request locally on the Web server because it does not include the time of the network transmission of the data and the local computing time of the user's PC.
For the reference dimension that we want to understand the processing performance of the server, it still has a reference meaning.
Let's start by running the sample code through node http.js.
Http.createserver (function (req,res) {res.writehead (200,{' content-type ': ' Text/plain '}) res.write (' Hello Nodejs ') Res.end ()}). Listen (2015)
Then run http://localhost:2015
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/8F/1D/wKiom1jT1hzgPs8rAAAGrgptPeM044.jpg "title=" 36020170315204858576.jpg "alt=" Wkiom1jt1hzgps8raaagrgptpem044.jpg "/>
See the following code to show that the request is unobstructed.
This article is from the "It Rookie" blog, make sure to keep this source http://mazongfei.blog.51cto.com/3174958/1909817
node. JS (eight)--http performance test