Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » List Performance Problems(List Performance Problems)
List Performance Problems [message #727992] Thu, 22 September 2011 10:54 Go to next message
Piotr Slonicz is currently offline Piotr SloniczFriend
Messages: 13
Registered: August 2011
Location: Munich
Junior Member
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 #728063 is a reply to message #727992] Thu, 22 September 2011 13:15 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
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 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
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/
Re: List Performance Problems [message #728730 is a reply to message #727992] Fri, 23 September 2011 19:21 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Piotr,

FWIW, you may also like to check out this blog post [1] to see how RAP
widgets can be used to display a huge data set without any performance
issues. A virtual table with a single columns looks almost the same as a
list and can display a million items if you like.

However, I'm sure your users won't like it ;-)

Cheers, Ralf

[1]
http://eclipsesource.com/blogs/2011/08/15/accessing-a-huge-data-set-with-the-web-browser/

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: List Performance Problems [message #728757 is a reply to message #728730] Fri, 23 September 2011 20:48 Go to previous message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

Plus a TreeViewer can display icons, whereas a ListViewer cannot.
Previous Topic:Eclispe E4 and RAP
Next Topic:KTable rendering
Goto Forum:
  


Current Time: Fri Apr 19 10:09:21 GMT 2024

Powered by FUDForum. Page generated in 0.02152 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top