siege.js is a http benchmark module.
features:
* benchmark with keep alive connection, (useful on mac os)
* colorful report
* multiple task define
* cookie support (>= 0.0.2)
example:
siege()
> .on(3000)
> .for(10000).times
> .get('/')
> .attack()
for a nodejs app.js, which module.exports = function(req, res), you can use
siege start your server, before benchmark, and close server after benchmark.
siege(__dirname + '/app.js')
> .on(4000)
> .withCookie
> .for(10000).times
> .concurrent(100)
> .get('/set-cookie')
> .get('/get-cookie')
> .get('/').withoutCookie
> .attack()
enjoy it.
by kissjs.org.
We are looking for collaborators.
--
Best regards,
桂林 (Gui Lin)
guileen@twitter
桂林-V@weibo <http://weibo.com/guileen>
guileen@github <https://github.com/guileen>
--
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