@TJ you are right, I am using something like helloworld, but it is
real-world application.
Why hello world is real-world application, because I use cache layer, even
more, I can use a In-Process-Cache layer. So, the IO layer could be very
fast.
I have done a very first version routing, here is my benchmark result.
express constant path routing
app.get('/', function(req, res) { res.send(); })
rps: 5943
express param path routing
app.get('/user/:userid', function(req, res) { res.send() });
rps: 5740
My small routing module, named kick.js, choose the same syntax with express
app.get('/', funtion(req, res) { res.end( 'hello world' ) })
rps: 7451
app.get('/user/:userid', function(req, res) { res.end( req.params.userid )
> })
rps: 7180
on MacBook Air, benchmark with siege.js
https://github.com/guileen/kick.js
https://github.com/guileen/siege.js
2012/4/29 C. Mundi <[email protected]>
> Where *did* you get that graphic? LOL.
> On Apr 27, 2012 11:46 AM, "Marak Squires" <[email protected]> wrote:
>
> --
> 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
>
--
Best regards,
Jason Green
桂林
--
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