Hi,
While profiling one of my tests I noticed that accessing the `stack` 
property of an Error object is extremely slow; anywhere from 5 to 100ms on 
my pretty new MBP (I can reliably reproduce one test case where it takes 
100ms to access the property). I'm running node v0.12.4, however most 
of the code in my application is written in Coffeescript. Switching 
`err.stack` and `console.trace()` is just as slow.

Has anyone else observed stack traces that are this slow? Are there any 
possible workarounds, besides not logging the stack trace? 

Sorry this is a little vague, I can provide more info if I can get hints 
about where to look.

Thanks,
Kevin 

-- 
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/43549dbe-71b5-485e-8f00-4d90881d3b96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to