jQuery 1.4.3 and onwards contains a pretty major performance bug concerning Internet Explorer 7 and 8, which has only recently been fixed in jQuery 1.6.1. Basically it slows down jQuery's combined selectors (for axample, div, p) by at least factor 10 – see attached screenshot (SlickSpeed was executed on IE7 on VirtualPC running Windows XP). For those developing highly AJAX-ified applications this might be a blocker.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smk-ka’s picture

Title: Patched jQuery 1.4.4 » jQuery performance fix (IE7/8)
Status: Active » Needs review
FileSize
152.55 KB

This is a straight backport of John's fix for jQuery 1.4.4.

Status: Needs review » Needs work

The last submitted patch, drupal-jquery-1294584.patch, failed testing.

droplet’s picture

Priority: Minor » Normal

2272 ms = 2s. It's very slow. We have patch it or look around our JS sources to get rid of relevant bad code.

das-peter’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
152.44 KB

Updated patch

ajiang’s picture

Status: Needs review » Reviewed & tested by the community

The patch applies correctly in git, so I guess this is ready for port...

David_Rothstein’s picture

Status: Reviewed & tested by the community » Needs work

We can't ship with a patched jQuery like that.

If we wanted to update jQuery in a stable release, it would only be possible with lots of testing and assurance that it won't break existing sites, but that's difficult to do.

Shouldn't people who need a newer version just use https://drupal.org/project/jquery_update?