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: | r.m.graham@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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:
http://jsbin.com/ubavob/3/edit
The problem came down to, more or less, this:
$(document).on("click", "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 comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
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 comment:3
Sorry...it'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.
Duplicate of #12436.