Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Multiselect dropdown list has very slow performance, when it contains lot of selected items. The issue is demonstrated by this example, where there are 2000 items selected: https://stackblitz.com/edit/abudguIn my computer, rendering the list takes around 10 seconds and during that time the browser is frozen.

The list can easily do more than 10000 available items without performance issue, but the problem arises when the number of selected items increase. When testing with different number of items, I get the following results:

1000 items -> 2500 ms

2000 items -> 9500 ms

3000 items -> 22400 ms

This shows a clear O(n^2) time complexity pattern (in this case quadratic time), which indicates that there is a very inefficient algorithm in use somewhere. I'd assume that the multiselect list functionality can be achieved with algorithms having time complexity close to O(n).