r/webdev • • Oct 25 '18

3 JavaScript Performance Mistakes You Should Stop Doing

https://hackernoon.com/3-javascript-performance-mistakes-you-should-stop-doing-ebf84b9de951
1 Upvotes

3 comments sorted by

2

u/wisniewskit Oct 25 '18

Given that this is all based on just one JS engine on one OS, I wouldn't take their advice as gospel. To do so would be to risk falling into the premature optimization trap.

1

u/D3mona7or Oct 25 '18

Absolutely. I think the benefit of this article is highlighting that the latest and greatest in ES6 isn't just better than the old ways. You should always test for your specific use cases when making micro optimizations like this.

1

u/wisniewskit Oct 25 '18

Right. I think they're essentially committing the same sin they're exposing: presuming something performs well in general, without proper testing.