|
|
|
|
|
by venning
3776 days ago
|
|
> ES6 performance sucks! Strong mode is a mode for ES6, you cannot use it without using various ES6 features. However, idiomatic ES6 code currently is substantially slower than ES5, across all browsers -- easily by 2x, often by 10x or more. Due to the sheer size of ES6, plus a number of unfortunate design choices, it will likely take years until implementations catch up with ES5 optimisations, and the hundreds of man years that went into those. This has been my suspicion for a while. Perhaps I've missed other comments to this effect, but I don't think I've heard anyone else articulate it. |
|
In general, we will focus on improving the performance of the most-used features first. Arrow functions, generators, etc. are high on the list.
[0]: https://twitter.com/addyosmani/status/699976753255751681
(Disclaimer: I'm a PM on the V8 team)