-3

as explained here why await beats Promise.then() in terms of performance aspect of JS engine I want to know if same performance issue is applicable in production modes also?

Like in production mode does JS engine needs to keep track of stack traces?

Thank You.

  • I doubt a browser would know if it runs a page in developement mode or product mode. – Teemu May 03 '21 at 11:51
  • "production mode" is just a variable in a config file. Doesn't really change that much about the application. It might involve using the minified files and disabling the source maps and similar but ultimately the environment is completely unchanged. – VLAZ May 03 '21 at 11:53

0 Answers0