Do the Engines translate the Code in the same Way?
I guess you don't have to unless you want to create enterprise Applications with thousands of users and every millisecond and roundtrip is important for you to safe real money.
Unless you don't want to let your application perform ideal in every single engine. We are just talking about milliseconds over here.
The overall concept over here is the same in every Engine.
If you want to dig deeper into the understanding of how the engines process your code i recommend to check out You don't know JS. It's a book series in 6 parts which you can read online for free.
After reading that I personally got a much better idea of how my code is processed by the engine. And i'm sure that the part were you need to differ between this engines is all about the performance in the millisecond area!
Quotet from there:
They have also listet more helpful sources!
These days, the Chrome profiler and other tools are universally available and easy to use, as are console.time(), console.profile(), and performance.now(). Chrome also gives you a timeline view which can show you what is killing your frame rate, where the user might be waiting, etc.
Finding documentation for all these tools is really easy, you don't need an SO answer for that. 7 years later, I'll still repeat the advice of my original answer and point out that you can have slow code run forever where a user won't notice it, and pretty fast code running where they do, and they will complain about the pretty fast code not being fast enough. Or that your request to your server API took 220ms. Or something else like that. The point remains that if you take a profiler out and go looking for work to do, you will find it, but it may not be the work your users need.
©2020 All rights reserved.