We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ComboBoxAutoComplete Performance

Thread ID:

Created:

Updated:

Platform:

Replies:

28776 May 10,2005 12:58 PM May 16,2005 03:19 PM Windows Forms 3
loading
Tags: Tools
Jason Allen
Asked On May 10, 2005 12:58 PM

Hi I am using ComboBoxAutoCompete control. Visually and functionally it''s everything I need. Performance when typing search strings is good. Displaying the drop-down however is extremely slow. I have 22000 items in the combo and it takes about 3-4 seconds to display the drop-down! Even if I reduce the number to 1000 there is a noticeable delay before the drop-down is rendered. Do you have any tips to improve the performance or is this a known issue? If the latter, when can we expect an improvement? Many thanks Jason

Administrator [Syncfusion]
Replied On May 11, 2005 02:37 PM

Hi Jason, A large portion of the delay displaying the PopupControlContainer is populated the ListBox with the matches. I created a test sample on my machine and had the following results: Populating a ListBox with 22000 items: 2.5 seconds Opening an AutoComplete popup with 22000 possible matches: 3.75 seconds So 66% of the performance hit is populating the ListBox, which it has to do every time. Even if we managed to reduce the AutoComplete''s processing time to near 0, the limitations of the ListBox would still result in a slow experience. Regards, Gregory Austin Syncfusion Inc.

Jason Allen
Replied On May 16, 2005 11:30 AM

Gregory Thank you for the response. However, if I populate an ordinary combo box, the rendering of the drop list is infinitely faster than that of the ComboBoxAutoComplete. The search performance is absolutely fine, it is only the rendering of the drop list that prevents me from using the control. Any improvement would be greatly appreciated. Best Regards Jason >Hi Jason, > > A large portion of the delay displaying the PopupControlContainer is populated the ListBox with the matches. I created a test sample on my machine and had the following results: > >Populating a ListBox with 22000 items: 2.5 seconds > >Opening an AutoComplete popup with 22000 possible matches: 3.75 seconds > > >So 66% of the performance hit is populating the ListBox, which it has to do every time. Even if we managed to reduce the AutoComplete''s processing time to near 0, the limitations of the ListBox would still result in a slow experience. > >Regards, >Gregory Austin >Syncfusion Inc.

Administrator [Syncfusion]
Replied On May 16, 2005 03:19 PM

Hi Jason, There are two main differences between populating a ComboBox dropdown and an AutoComplete dropdown. 1) The ComboBox dropdown usually only has to be populated once. Any changes after that can be a single addition to list. AutoComplete has to repopulate every time since the list of matches changes frequently. 2) The ComboBox can be populated ahead of time. AutoComplete cannot, since the list of matches is constantly changing. However, I do agree that the dropdown becomes too slow once the matches breaks 15,000. I have entered Feature Request #204 to improve the performance. However, I cannot provide any turnaround time on this request, or even guarantee that it is possible. Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;