The time it takes to start up is ~ that of a `time node -e ''`: $ time node -e ''
real 0m0.044s user 0m0.027s sys 0m0.014s -- Jorge. On May 25, 2012, at 11:21 PM, Oliver Leics wrote: > On Fri, May 25, 2012 at 9:50 PM, Jorge <[email protected]> wrote: >> It does not take 3 seconds to start it up. > > then i don't understand the numbers and teh method. > > Please explain: > > $ time node -e 'i=1e7; while(i--);' > > real 0m2.029s > user 0m2.008s > sys 0m0.016s > > Those 2.029s really exclude startup time? > > The 'time' command itself excludes them? > >> >> On May 25, 2012, at 9:43 PM, Oliver Leics wrote: >> >>> Startup time is not a bug >>> >>> You guys are funny >>> >>> On Fri, May 25, 2012 at 9:42 PM, Jorge <[email protected]> wrote: >>>> On May 25, 2012, at 9:35 PM, Arnout Kazemier wrote: >>>> >>>>> Nope: >>>>> >>>>> ./shell -e 'var i=1e7; while(i--);' >>>>> >>>>> 0,03s user 0,00s system 91% cpu 0,042 total >>>>> >>>>> jsc -e 'var i=1e7; while(i--);' >>>>> >>>>> 0,03s user 0,00s system 60% cpu 0,059 total >>>> >>>> >>>> Don't you use loops in your programs? Yes. And what does it give you with >>>> node? 3 seconds. That's a bug. >>>> -- >>>> Jorge. >>>> >>>> -- >>>> 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 >>> >>> >>> >>> -- >>> Oliver Leics @ G+ >>> https://plus.google.com/112912441146721682527 >>> >>> -- >>> 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 >> >> -- >> 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 > > > > -- > Oliver Leics @ G+ > https://plus.google.com/112912441146721682527 > > -- > 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 -- 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
