News for hackers. Stuff that matters.
Re:ES6 Performance by haberman on Friday July 03, 2015 @02:20PM (#9827100)
Wow, this is all a bit disheartening to read the day after I spent all day updating my app to ES6 + babel.

These performance hits are extreme. I would never have guessed that so many of these features are taking 20-2000x speed hits.

I hope the browsers and V8 catch up soon so transpiling ES6 is no longer necessary.

Re:ES6 Performance by fenomas on Friday July 03, 2015 @03:03PM (#9827356)
Did you profile the before and after versions of your app? I think some of the more extreme results (like 2000x) here may just be due to the benchmarks getting optimized into empty functions.
Re:ES6 Performance by skrebbel on Friday July 03, 2015 @02:47PM (#9827250)
Use loose mode. Not only will sane code seldom hit the edge cases, it also generates way more readable es5. And, according to this article, there's hardly any performance hit left.