Re: [nodejs] Accessing stack traces of an Error object is extremely slow

2015-06-26 Thread Ben Noordhuis
On Fri, Jun 26, 2015 at 2:54 AM, bu...@shyp.com wrote: 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

[nodejs] Accessing stack traces of an Error object is extremely slow

2015-06-25 Thread burke
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