this might better belong to sizzle, but maybe someone can enlighten me anyway. i'm wanted to update from jquery 1.3 to jquery 1.4 for a long time. sadly 1.4 is way slower in internet explorer than 1.3. i'm trying to figure out why. first thing i noticed was, that calls to certain filters exploded in version 1.4.
So i started to look for the matching of the regular expressions in Sizzle.filter. And it appears that the Browsers match completely different. For the Selector CLASS internet explorer 8 always matches more elements.
hi, i recently upgraded the jquery-core from 1.3.2 to 1.4.2. to my suprise i noticed a big slowdown. in firefox the slowdown is minor but still measurable on some pages, but in ie8 it's really big. so i used dynaTrace to have a look.
the biggest difference i noticed immediatly is the number of invocations of PSEUDO. in jquery 1.3.2 it's 3678 and in 1.4.2 it's 22253. some other functions are also slower, but the difference isn't so obvious.
can anyone explain this?
i attached to screenshots from the hotspot-tab in dynaTrace.