DEV Community

Discussion on: Using arrow functions might be costing you performance

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

Okay if you ran this console.time 5 times 30 times 100 times you won't get consistant results.

I don't care what console.time or js perf say. Does your program feel faster or slower now that you use arrows?

I thought not. A user perceived speed is all that matters.

If you had some high performance critical needs then JavaScript is not a good choice anyway. C++ or Lua Jit would be a better pick.

Edit: (I was so very drunk when I wrote this)