Calling refresh several times makes it slower and slower
|Reported by:||TimePerformance||Owned by:||TimePerformance|
Each call to $el.selectable('refresh') is slower than the previous, starting from 200ms and going to more than 10 seconds. (for hundreds of selectees)
The problem comes from the line:
that._addClass( that.selectees, "ui-selectee" );
I have seen an issue for v1.12.0 and upgraded to v1.12.1, but it did not solve the problem.
Replacing the line above by:
solves the performance issue.
Change History (4)
comment:2 Changed 6 months ago by arschmitz
- Owner set to TimePerformance
- Status changed from new to pending
comment:3 Changed 6 months ago by scottgonzalez
- Resolution set to notabug
- Status changed from pending to closed