If my entire Node.js program is the following 

setInterval(function() {}, Infinity) 

'top' shows it consumes 15-20% CPU

If I change it to

setInterval(function() {}, 100000)

it drops down to < 1% CPU consumption.

Any insights what's going on?

TIA,
Sunil 

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/f0ec98ab-7afc-40f7-8a05-79ee7a35a502%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to