Changes between Initial Version and Version 11 of Ticket #15043
- Timestamp:
- Sep 13, 2016, 3:46:43 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15043
-
Property
Status
changed from
new
toclosed
-
Property
Component
changed from
ui.autocomplete
toui.widget
-
Property
Summary
changed from
JQuery autocomplete performance issue
toWidget: Internal list of elements with classes can't be cleaned up
-
Property
Version
changed from
1.11.3
to1.12.0
-
Property
Milestone
changed from
none
to1.12.1
- Property Owner set to Alexander Schmitz
-
Property
Resolution
changed from
to
fixed
-
Property
Status
changed from
-
Ticket #15043 – Description
initial v11 1 1 I used the code from site http://jqueryui.com/autocomplete/#combobox and noticed a significant performance issue on my page. My list has ~3000 options in the combobox. I noticed that most of the time it was stuck in the in the jquery js file within this set of code: 2 3 `indexOf = function( list, elem ) {2 {{{#!js 3 indexOf = function( list, elem ) { 4 4 var i = 0, 5 5 len = list.length; … … 11 11 return -1; 12 12 },` 13 13 }}} 14 14 Even though my list object was only expected to be ~3000 rows, it was actually significantly higher. Here is my stacktrace: 15 15 16 `indexOf (jquery-1.12.4.js:644) 16 {{{ 17 indexOf (jquery-1.12.4.js:644) 17 18 hasDuplicate (jquery-1.12.4.js:1375) 18 19 Sizzle.uniqueSort (jquery-1.12.4.js:1518) … … 41 42 (anonymous function) (jquery-ui.js:5992) 42 43 handlerProxy (jquery-ui.js:621) 43 ` 44 }}} 44 45 45 46 In processClassString it does line: