jQuery Autocomplete performance going down with each search : <p>I am having an issue with jQuery Autocomplete plugin.</p>

<p>By searching mutltiple times with term "item", at first it works okay: css classes on mouseover are added nicely and everything is smooth. By clicking outside of the popup to close it and typing again each time everything seems to work slower:</p>

<p>I tested it on Chrome which gets very slow and on Firefox which seem to handle it a bit better but also has a performance degradation.</p>

<p>Here is a fiddle with very simple code:
<a href="https://jsfiddle.net/re9psbxy/1/" rel="noreferrer">https://jsfiddle.net/re9psbxy/1/</a></p>

<p>And the code:</p>

<pre><code>var suggestionList = [];
for (var i = 0; i &lt; 200; i++) {
  suggestionList.push({
    label: 'item' + i,
    value: i
  });
}

//initialize jQueryUI Autocomplete
jQuery('#autocomplete').autocomplete({
  source: suggestionList
});
</code></pre>

<p>HTML:</p>

<pre><code>&lt;input type="text" id="autocomplete"/&gt;
</code></pre>
