JQuery Upgrade Causing Trouble for Twitter?
readwriteweb.com
readwriteweb.com
I've had issues with jQuery upgrades causing problems in the past. Changing jQuery versions has come to be something that I'm wary of, as everything must be carefully tested in each browser. It's more complex than just checking a layout or running your app through each part once, you have to really simulate several user sessions to see if anything feels off.
Have things improved since then?
That being said we aren't satisfied with the number of regressions that currently pop up and have instituted a number of changes into our development process:
- Significant core rewrites now only occur during
major (1.x) releases.
- New features are only added during major releases.
- APIs are only added/removed/changed during major
releases (unchanged, we've always done this).
- Behavior of specific API calls are only
changed during major releases.
We've also changed our workflow. We're now doing minor (1.x.x) releases roughly every month and major (1.x) releases every three months. Thus we can still get a good flow of good features out in a consistent manner.I should also mention that the jQuery core development team has many more people helping out now. Active participation has always been a challenge for the team (bug triage and fixing isn't very glamorous). We now have about 8 people who are entirely dedicated to bug triage, test case creation, and prioritization. These people work closely with the core dev team (which has recently more than doubled in size).
All of this will help to significantly improve the quality of releases (and has done so quite well with 1.4.4 - 1.4.4 was a very good release, better than 1.4.3. I suspect that if Twitter had issues with upgrading from 1.4.2 to 1.4.4 it was because they had issues with 1.4.3).
Here is a screenie of what I get every morning. Chrome 9 now (same for 8). 1st col is pvt bytes, 2nd is working set:
http://imageupload.org/?di=13129549812715
Edit: Interestingly after some usage, the memory gets freed, and it seems to return to normal again, ~50MB per tab.
Edit 2: Now I seem to get some Flash not responding dialogs. Sorry, it seems more likely a Flash issue, although I dont even have any Flash open on any tab.
Edit 3: Chrome stats: http://imageupload.org/?di=212954996318. Seems there is a problem with GC being a 'tad' conservative.