Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Performance(Visual updates from background threads.)
Performance [message #638067] Tue, 09 November 2010 20:02 Go to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Hi,
I have an application in both RAP and RCP that its views are updated from background threads, this is accomplished with the display.syncExec(...) mechanism and this work fine for both of them.

But in RAP the performance drops, when a view is sort of complex or with several widgets, it could take 6 seconds or more to the application to render the changes to the view. While in RCP this doesn't even takes a second.

Does any body knows how to optimize this?
Re: Performance [message #638142 is a reply to message #638067] Wed, 10 November 2010 07:54 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 Jesus,
it depends on the widgets in the view. Do you have any "fat" tables or
trees in this view? Are they virtual? How many items do you have in them?
Best,
Ivan

On 11/09/2010 10:02 PM, Jesus Luna Quiroga wrote:
> Hi, I have an application in both RAP and RCP that its views are
> updated from background threads, this is accomplished with the
> display.syncExec(...) mechanism and this work fine for both of them.
>
> But in RAP the performance drops, when a view is sort of complex or
> with several widgets, it could take 6 seconds or more to the
> application to render the changes to the view. While in RCP this
> doesn't even takes a second.
>
> Does any body knows how to optimize this?
Re: Performance [message #638251 is a reply to message #638067] Wed, 10 November 2010 16:31 Go to previous messageGo to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Well, the view has around 70 single widgets (texts, combos, ..), and contains 9 tables but they are not fat or virtual but they all have cell editors.
The widgets are distributed in the view by TabItems.

[Updated on: Wed, 10 November 2010 16:33]

Report message to a moderator

Re: Performance [message #638649 is a reply to message #638251] Thu, 11 November 2010 23:49 Go to previous messageGo to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

After doing some tests I found that the widgets that are creating the delay are the tables with the table editors. So any ideas to improve this?

Re: Performance [message #638680 is a reply to message #638649] Fri, 12 November 2010 07:26 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Jesus,
as I asked you previously, how many items do you have in the Table? How
many columns? Is the table virtual? If not make it virtual.
Best,
Ivan

On 12.11.2010 1:49 AM, Jesus Luna Quiroga wrote:
> After doing some tests I found that the widgets that are creating the
> delay are the tables with the table editors. So any ideas to improve
> this?
>
Previous Topic:Javascript Error, Upload, View
Next Topic:Inherit colors in Table (possibly List and Tree, too)
Goto Forum:
  


Current Time: Thu Apr 25 20:38:23 GMT 2024

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

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

Back to the top