You also have to deal with the fact that a lot of the "old guard" of web developers were really designers with very limited scripting knowledge, hence the current mindset of "just plug in another dependency and don't worry about it".
Imo, this is only going to get worse. We are now at a point where newer processors are being shipped with slight "performance increases", and it's most certainly nothing to write home about. The rate of poor software quality is much faster than the rate of newer and faster CPU's. I see nothing stopping this train right now. And to be completely honest, it will be fucking funny to watch some faggot-ass soy-chugging beta-male crying over the fact that his JS application is running slower than your grandmas mobility scooter, and has no way to fix it because he has NO control over what he is developing, and now at the mercy of incompetent retards to fix it. Which themselves, have no fucking clue how to fix.