Bug Tracker

Opened 6 years ago

Closed 6 years ago

#12941 closed bug (duplicate)

Some selector in Jquery(sizzle embed)-1.8.2 seems slower than jquery1.7.2 WHEN uses IE7 or lower version browser

Reported by: tomleader4444@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

$('#id1,#id2').

I had written 2 simple examples about it.

http://jsfiddle.net/WSA6f/

http://jsfiddle.net/WSA6f/1/

The two are both the same html and javascript code,except the onload-jquery-library,the 1st one contains jq-1.8.2 and the 2nd uses jq-1.7.2.

USE IE(<=8,cause I add a meta 'X-UA-Compatible' to make IE8 likes IE7) to open the example url,check the cost time and u'll see the 1st cost about 40ms and the 2nd cost only 1ms.

I had also post an issue on GITHUB project jquery-sizzle,the url is https://github.com/jquery/sizzle/issues/173

or we can discuss about it.

Change History (1)

comment:1 Changed 6 years ago by dmethvin

Resolution: duplicate
Status: newclosed

The Sizzle bug is the right place, thanks! I'll close this ticket.

Note: See TracTickets for help on using tickets.