4 ms·
Exactly. 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 re
by weixiyen 16y ago
Exactly.
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.