Re: [nodejs] Any way to do benchmark of http handlers for request and response without send request?
P.s., if you write unit tests for this same code, I think the answer will emerge on its own :). I personally like mocha for tests. Sent from an iPhone. On Apr 22, 2012, at 9:41 AM, jason.桂林 wrote: > I am writing a project named 'kickstart' aim to create high performance web > APP template (not view template). > > I hope the speed could close to node helloworld app. > > So I need some way to benchmark my app. I use ab, but it has big problem in > Mac OS. > > So, I hope, there is a tool could pass fake request and response to my > handlers, do all benchmark without network. > > Can I ? > > BTW, I have done very fast request dispatch. > > https://github.com/guileen/node-kickstart > > -- > 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 nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Any way to do benchmark of http handlers for request and response without send request?
Seems like you could use http://benchmarkjs.com/ and pass in mock/fake objects to the handler functions. Sent from an iPhone. On Apr 22, 2012, at 9:41 AM, jason.桂林 wrote: > I am writing a project named 'kickstart' aim to create high performance web > APP template (not view template). > > I hope the speed could close to node helloworld app. > > So I need some way to benchmark my app. I use ab, but it has big problem in > Mac OS. > > So, I hope, there is a tool could pass fake request and response to my > handlers, do all benchmark without network. > > Can I ? > > BTW, I have done very fast request dispatch. > > https://github.com/guileen/node-kickstart > > -- > 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 nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
[nodejs] Any way to do benchmark of http handlers for request and response without send request?
I am writing a project named 'kickstart' aim to create high performance web APP template (not view template). I hope the speed could close to node helloworld app. So I need some way to benchmark my app. I use ab, but it has big problem in Mac OS. So, I hope, there is a tool could pass fake request and response to my handlers, do all benchmark without network. Can I ? BTW, I have done very fast request dispatch. https://github.com/guileen/node-kickstart -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en