Changes between Initial Version and Version 11 of Ticket #15043


Ignore:
Timestamp:
Sep 13, 2016, 3:46:43 PM (7 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15043

    • Property Status changed from new to closed
    • Property Component changed from ui.autocomplete to ui.widget
    • Property Summary changed from JQuery autocomplete performance issue to Widget: Internal list of elements with classes can't be cleaned up
    • Property Version changed from 1.11.3 to 1.12.0
    • Property Milestone changed from none to 1.12.1
    • Property Owner set to Alexander Schmitz
    • Property Resolution changed from to fixed
  • Ticket #15043 – Description

    initial v11  
    11I 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 ) {
    44                var i = 0,
    55                        len = list.length;
     
    1111                return -1;
    1212        },`
    13 
     13}}}
    1414Even though my list object was only expected to be ~3000 rows, it was actually significantly higher.  Here is my stacktrace:
    1515
    16 `indexOf (jquery-1.12.4.js:644)
     16{{{
     17indexOf (jquery-1.12.4.js:644)
    1718hasDuplicate (jquery-1.12.4.js:1375)
    1819Sizzle.uniqueSort (jquery-1.12.4.js:1518)
     
    4142(anonymous function) (jquery-ui.js:5992)
    4243handlerProxy (jquery-ui.js:621)
    43 `
     44}}}
    4445
    4546In processClassString it does line: