This is a migrated thread and some comments may be shown as answers.

Auto Complete - Slow Load with Large Dataset

4 Answers 285 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Linson
Top achievements
Rank 1
Linson asked on 08 Mar 2017, 06:29 AM

I am using a AutoComplete control to which I am binding a large dataset (> 10,000) rows. These records are being read from sqllite local db. What I am experiencing right now is there is much delay in displaying the records in the suggestions list. Please let me know if there is a way to restrict the no of records being displayed and loaded into the control.

 

Your quick response would be much appreciated.

 

 

4 Answers, 1 is accepted

Sort by
0
Shaikh
Top achievements
Rank 1
answered on 09 Mar 2017, 07:23 AM
I am also facing the same issue. Any help?
0
Pavel R. Pavlov
Telerik team
answered on 10 Mar 2017, 09:57 AM
Hello,

Could any of you please share more implementation details? I tested the control by loading into it 15000 business items and the performance of the RadAutoComplete is excellent. The results of the searching operation are displayed immediately. Please note that the list of the suggestions uses virtualization for better performance. This means that only the items that can fit into the viewport of the control are created and the same items are being reused over and over again. We do not create separate UI element for every single search result. 

Could you please test if the items are loading fast enough from your database? This can be done by creating the items in code and repeating the same replication steps and observing the loading time. If the performance is slow again we would need to take a look at a concrete implementation in order to further investigate the case.

Please let us know how it goes on your side.

Regards,
Pavel R. Pavlov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
frank
Top achievements
Rank 1
answered on 19 Apr 2017, 03:04 PM

Hi Pavel, 

I also have this issue. The itemsource is prepared in advance, and once the page is display, the automcomplete is really fast. The initial load of the page gets very slow the more items are in the source. On the android emulator it gets really slow with sources > 1000 items.

Best regards, Frank

0
Pavel R. Pavlov
Telerik team
answered on 21 Apr 2017, 06:36 AM
Hi Frank,

Thank you for bringing this into our attention. However, as I already mentioned, we would need concrete implementation and/or repro project to test this setup on our side. It would be nice to share the exact emulator, as well. This will give us best chances to reproduce the same behavior on our side. We will be able to further investigate the reasons behind only after we reproduce this.

Regards,
Pavel R. Pavlov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
AutoComplete
Asked by
Linson
Top achievements
Rank 1
Answers by
Shaikh
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
frank
Top achievements
Rank 1
Share this question
or