[–] cliftonk 14y ago ↗ Tip to make the stack traces better in javascript: name all of your anonymous functions.For example, request.on('data', function requestReceivedData() { ... }); [–] firefoxman1 14y ago ↗ 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)
[–] firefoxman1 14y ago ↗ 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)
[–] klr 14y ago ↗ Really great. I'd like to do all that locally though. [–] grannyg00se 14y ago ↗ Is there some indication as to why you wouldn't be able to? [–] htilford 14y ago ↗ by default nodetime reports back to nodetime.com to display the results. But that's just the default. It can be set to report to any server and/or the console.
[–] htilford 14y ago ↗ by default nodetime reports back to nodetime.com to display the results. But that's just the default. It can be set to report to any server and/or the console.
6 comments
[ 3.9 ms ] story [ 24.3 ms ] threadFor example,