Skip to main content

Bug Tracker

Side navigation

#12543 closed bug (duplicate)

Opened September 14, 2012 09:38PM UTC

Closed September 14, 2012 09:53PM UTC

Last modified September 15, 2012 02:04AM UTC

Large selector performance regression

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:

I have a CRUD app (aka html with large tables) that was hit pretty hard with this. We updated to 1.8.1 and suddenly there were 4 second delays when users click a checkbox before it would be checked.

I managed to reduce the test case pretty significantly on jsbin:

The problem came down to, more or less, this:

               "tr[link] td:not(:has(a,input)), td[link]",
               function() { /* ... */});

It's not great code, but the 100x slow down is worse.

Attachments (0)
Change History (3)

Changed September 14, 2012 09:53PM UTC by timmywil comment:1

resolution: → duplicate
status: newclosed

Duplicate of #12436.

Changed September 14, 2012 10:02PM UTC by comment:2

Replying to [comment:1 timmywil]:

Duplicate of #12436.

Meta-bug/feature request: setting degradation and regression as search term synonyms would have saved me the day I spent reducing my test.

Changed September 15, 2012 02:04AM UTC by dmethvin comment:3's always hard to pick out the right terms in a search. It would be easier if there wasn't so much noise from people filing things that weren't bugs. Unfortunately that makes things that *are* bugs like yours harder to find.