Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Performance issue(Performance issue)
Performance issue [message #487752] Thu, 24 September 2009 10:37 Go to next message
zhang  is currently offline zhang Friend
Messages: 6
Registered: July 2009
Junior Member
Hi,

Our RAP application (using RAP 1.2 release version) contains a table with 15 rows and 15 columns. When we profile the application using jprofiler, we found that the functions getAdapter and checkWidget in RWT are called a large number of times and consume 20% CPU time.

The super.getApdapter calls in composite.getAdapter and control.getApdapter use a lots of CPU. We have tested by integrating directly the widget.getAdapter lines into composite.getAdapter and control.getAdapter. With this modification, we optimize the cpu use by 5-8% in our application. Is there any problem with this modification ?

The function checkWidget uses also a lots of CPU. It just throws an exception when there is any thread problem. This is very useful in development phase. Is it possible to disable these calls for a production environment ?

Regards,
Lifei
Re: Performance issue [message #488327 is a reply to message #487752] Mon, 28 September 2009 07:03 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Lifei,

it would be great to open an enhancement request with a snippet to
reproduce the behavior and a patch with your suggestions how to solve
it. Maybe even some profiler statistics with and without the patch.

Just reading your explanation doesn't make much sense to me at the
moment how you get such a performance gain with these changes but I
think it would be good to track this down.

Regards,
Ben

zhang wrote:
> Hi,
>
> Our RAP application (using RAP 1.2 release version) contains a table
> with 15 rows and 15 columns. When we profile the application using
> jprofiler, we found that the functions getAdapter and checkWidget in RWT
> are called a large number of times and consume 20% CPU time.
>
> The super.getApdapter calls in composite.getAdapter and
> control.getApdapter use a lots of CPU. We have tested by integrating
> directly the widget.getAdapter lines into composite.getAdapter and
> control.getAdapter. With this modification, we optimize the cpu use by
> 5-8% in our application. Is there any problem with this modification ?
>
> The function checkWidget uses also a lots of CPU. It just throws an
> exception when there is any thread problem. This is very useful in
> development phase. Is it possible to disable these calls for a
> production environment ?
>
> Regards,
> Lifei
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:User UICallBack Problem
Next Topic:RAP with Jetty basic authentication
Goto Forum:
  


Current Time: Tue Apr 23 06:57:27 GMT 2024

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

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

Back to the top