I
I
Igor Morev2016-07-28 14:28:14
JavaScript
Igor Morev, 2016-07-28 14:28:14

What is the performance of angular 1.5 with es6+babel in a web app?

Good day. Not so long ago I started developing a web application on angular 1.5.
I have a question, what is the performance of angular 1.5 with es6 + babel in a web application (for example, a dashboard) with a large number of tables, charts and frequent data updates in the ui? How different is it from regular es5. I would love to hear real life examples. How much has it fallen or vice versa can it rise?
I myself started doing in es5, and since the project is still at an early stage, there is a desire to rewrite and continue to write in es6. Only confuse these moments about which I wrote above. Please help me to resolve this issue.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mikhail Osher, 2016-07-28
@miraage

The difference between es6-to-es5 (after all, in any case, there will be transpiling, due to limited support for es6 at the moment) vs es5 in terms of performance will be negligible compared to if you make an architectural mistake in the application.
I wouldn't sweat it at all.

K
Kirill Sharonov, 2016-07-28
@k_sharonov

So babel rewrites all code from ES6 to ES5, doesn't it? If it makes sense to write in es6 + babel, then only so that later, when browsers fully support ES6, it would be possible not to use babel.

L
lega, 2016-07-28
@lega

If you iterate over large loops, babel with full compatibility can be 100 times slower (on these loops), but this is not common in web applications, so the difference should not be noticeable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question