2 ms·
And the second step was writing a highly-visible blog post slagging the free code they use in their many-million-dollar website before they actually understood
by jfager 16y ago
And the second step was writing a highly-visible blog post slagging the free code they use in their many-million-dollar website before they actually understood the problem?
- weixiyen 16y agoExactly. It's not hard to pinpoint the exact line of code that is causing the slow down and come to a conclusion. This could have easily been fixed without reverting to jQuery 1.4.2 and risk breaking other things in the process (assuming they upgraded to 1.4.4 for a good reason). On top of that it was their own code which led to the slowdown. Passing the blame to jQuery seems wrong when it was their own mistake to disregard best practices. Here is where Twitter failed: 1) Need better testing when updating a version of the library. 2) Need to understand what the library you are using is doing and how to avoid performance bottlenecks. Basic stuff.