Open Bug 1307395 (es6perf) Opened 3 years ago Updated Last month

[meta] Optimize ECMAScript 6 performance

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

People

(Reporter: evilpie, Unassigned)

References

(Depends on 17 open bugs)

Details

(Keywords: meta)

We should optimize ES6 to make sure users don't get worse performance when using new language features.
Depends on: ares-6, 1273858
Alias: es6perf
Depends on: six-speed
Depends on: 1167472
Depends on: 1172313
Depends on: 1297749
Depends on: 1307494
Duplicate of this bug: 1337482
There's a benchmark that compares the performance of ES6 features with the equivalent ES5 implementation: https://fhinkel.github.io/six-speed/

On most of the tests where Firefox ES6 is slower, it is way worse than other browsers.  For example in the "classes" tests Firefox is ~30x slower, but Chrome is ~2x slower and Edge is only ~1.2x slower.
Depends on: 1338910
Depends on: 1338917
Depends on: 1338920
Depends on: 1341937
Depends on: 1342037
Depends on: 1317690
Depends on: 1353358
Depends on: 1315620
Depends on: 1358501
Depends on: 1364854
Depends on: 1366372
Depends on: 1366470
Depends on: 1367088
Depends on: 1371591
Depends on: 1382370
Depends on: 1383364
Depends on: 1162665
Depends on: 1226261
Depends on: 1408039
Depends on: 1410640
Depends on: 1411774
Depends on: 1420400
Depends on: 1427739
Priority: -- → P3
Depends on: 1506524
Depends on: 1362930
Depends on: 1557765
You need to log in before you can comment on or make changes to this bug.