|
Re: List Performance Problems [message #728063 is a reply to message #727992] |
Thu, 22 September 2011 13:15 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Piotr,
List and Combo widgets are not capable to handle such amount of items.
This is a known issue in RAP, but we can't fixed it easily without a
complete redesign of the client side widgets (mainly List). To
workaround it, use virtual Table instead. Since 1.5M1 there is no more
performance problems with virtual Tree. See bug:
342978: Refactor Tree widget to make it really virtual
https://bugs.eclipse.org/bugs/show_bug.cgi?id=342978
HTH,
Ivan
On 9/22/2011 1:54 PM, piotr.slonicz wrote:
> Hello everyone,
>
> I use Eclipse Indigo together with RAP 1.5M1. I use a List Widget and
> I fill it with about 5000 items or more (professions or hobbies). I
> have started my application in RCP and it works very fast, but in RAP
> it is very, very slow. While the Page is being rendered in Browser
> (IE, FF), it throws a Script Problem. I have tried to use a method
> setRedraw(false) on the List and it helps a little bit in FF, but in
> IE it still crashes. Anyway it takes to long to load the page.
>
> What can I do to improve a performance of the List Widget? Are there
> known any problems like for example in the Tree Widget (SWT.Virtual)?
>
> Thanks for any ideas helping me to solve this problem.
>
|
|
|
Re: List Performance Problems [message #728411 is a reply to message #727992] |
Fri, 23 September 2011 08:00 |
Rüdiger Herrmann Messages: 335 Registered: July 2009 |
Senior Member |
|
|
Piotr,
apart from the performance of the List widget, there is still the time
necessary to create 5000 or so items on the server and send them over
the wire, which cannot be neglected.
You may want to reconsider the UI design to gain performance and save
your users from wading through an unmanagable amount of items
Regards
Rüdiger
On 22.09.2011 12:54, piotr.slonicz wrote:
> Hello everyone,
>
> I use Eclipse Indigo together with RAP 1.5M1. I use a List Widget and I
> fill it with about 5000 items or more (professions or hobbies). I have
> started my application in RCP and it works very fast, but in RAP it is
> very, very slow. While the Page is being rendered in Browser (IE, FF),
> it throws a Script Problem. I have tried to use a method
> setRedraw(false) on the List and it helps a little bit in FF, but in IE
> it still crashes. Anyway it takes to long to load the page.
>
> What can I do to improve a performance of the List Widget? Are there
> known any problems like for example in the Tree Widget (SWT.Virtual)?
>
> Thanks for any ideas helping me to solve this problem.
>
--
Rüdiger Herrmann
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02152 seconds