News for hackers. Stuff that matters.
Re:Locating CPU-intensive code in Node.js by cliftonk on Monday May 21, 2012 @10:53AM (#4003106)
Tip to make the stack traces better in javascript: name all of your anonymous functions.

For example,

    request.on('data', function requestReceivedData() { ... });
Re:Locating CPU-intensive code in Node.js by firefoxman1 on Monday May 21, 2012 @01:16PM (#4003819)
I've recently started doing this as well. You also get a performance boost if you define the functions once at the top and then do this:

   request.on('data', requestReceivedData)