Hi,

I would like to start a series of benchmarks of a few apps we have running
with node.js so I decided to run a baseline benchmark on a vanilla
express.js application with the following route:

app.get('/', function ( req, res ) {
  res.end("hello world");
});

I ran ApacheBench like this:
.\ab.exe -n 100 http://one.org:3000/
.\ab.exe -n 100 -c 10 http://one.org:3000/
.\ab.exe -n 100 -c 100 http://one.org:3000/

(one.org is mapped in my hosts file to an EC2 Large instance)

I repeated the tests several times, and results were pretty consistent:
https://gist.github.com/4004085

So my questions are, do these numbers make sense? And is this suggesting
that in the last test one request was waiting for 24 seconds? Why?

Is there a better way to benchmark an express.js app?

Thanks,
Gustavo

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to