Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Performace Issue In Browser(FireFox is better than IE)
RAP Performace Issue In Browser [message #728120] Thu, 22 September 2011 15:03 Go to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
Hi

Looked to the http://www.eclipse.org/forums/index.php/m/727750/#msg_661124.
Addded my issue then thought of creating a new topic.

I am having the browser issue.(FireFox and IE)

My RAP works great in Firefox but in IE the performance is pathetic.

I am able to create 150 records in the table viewer in Firefox without any issue but when i create the same in IE it becomes unresponsive. I am not able to create more than 50 records in the IE.

The scripting language (java script) is same for both the browser but there are some things which are different like i remember from my past experience <form></form> is mandatory for creating the form in Firefox while it is not mandatory in IE. I do not know whether it is still valid. Secondly, scripting language does not work exactly same in all the browsers. So does something needs to be added to make it work in IE exactly same as Firefox .

I am using IE 8.0.(128 bit) and Firefox 3.6.22.

Any pointers are highly appreciated.

Re: RAP Performace Issue In Browser [message #728148 is a reply to message #728120] Thu, 22 September 2011 15:12 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 Raj,
how many columns your TableViewer has? Is your TableViewer virtual? If
not - make it virtual and utilize the ILazyContentProvider. See JFace
Snippets [1] for an example.
[1]
http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet030VirtualLazyTableViewer
HTH,
Ivan

On 9/22/2011 6:03 PM, Raj wrote:
> Hi
>
> Looked to the
> http://www.eclipse.org/forums/index.php/m/727750/#msg_661124.
> Addded my issue then thought of creating a new topic.
>
> I am having the browser issue.(FireFox and IE)
>
> My RAP works great in Firefox but in IE the performance is pathetic.
>
> I am able to create 150 records in the table viewer in Firefox without
> any issue but when i create the same in IE it becomes unresponsive. I
> am not able to create more than 50 records in the IE.
>
> The scripting language (java script) is same for both the browser but
> there are some things which are different like i remember from my past
> experience <form></form> is mandatory for creating the form in Firefox
> while it is not mandatory in IE. I do not know whether it is still
> valid. Secondly, scripting language does not work exactly same in all
> the browsers. So does something needs to be added to make it work in
> IE exactly same as Firefox .
>
> I am using IE 8.0.(128 bit) and Firefox 3.6.22.
>
> Any pointers are highly appreciated.
>
>
Re: RAP Performace Issue In Browser [message #730233 is a reply to message #728148] Wed, 28 September 2011 00:16 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
We are using KTable for creation of the tables..
Re: RAP Performace Issue In Browser [message #730779 is a reply to message #730233] Thu, 29 September 2011 07:02 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Raj,

AFAIK the KTable entirely relies on the GC to draw its content. The GC
uses VML (in IE) or the Canvas (other browsers) to draw on the client.
Due to the limited performance of VML (and also Canvas when used
heavily), the GC isn't well suited to frequently draw large and complex
areas.
In addition, the KTable probably isn't optimized for the distributed
environment it runs in when using RAP (as it was developed with SWT in
mind).
You may gain some performance improvements if you are able to tweak the
KTable implementation. Or you may use the 'normal' Table or Tree widget
which can handle large amounts of items.
Once this bug [1] is resolved, the situation might improve a bit as we
then can leverage the Canvas in newer versions of IE.

HTH
Rüdiger

[1] 270397: RAP Should Use a DOCTYPE That Triggers Standards Rendering
https://bugs.eclipse.org/bugs/show_bug.cgi?id=270397

On 28.09.2011 02:16, Raj wrote:
> We are using KTable for creation of the tables..

--
Rüdiger Herrmann

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP Performace Issue In Browser [message #732113 is a reply to message #730779] Mon, 03 October 2011 23:08 Go to previous messageGo to next message
Raj  is currently offline Raj Friend
Messages: 74
Registered: August 2011
Member
We really have heavy UI. We also make database calls when we use the cell editing in KTable from our RAP application.

As we are moving from RAP to RAP,I was thinking if we move from KTable to TableViewer and have say 200 records in the table viewer. Now i am editing a particular cell and behind the scenes making a call to the databse, then in this scenario will my complete table will be redrwan or the affeced cell will be redrawn.



Re: RAP Performace Issue In Browser [message #732324 is a reply to message #732113] Tue, 04 October 2011 13:56 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Raj,

the Table (which backs the TableViewer) only renders the changed items
on the client.

HTH
Rüdiger

On 04.10.2011 01:08, Raj wrote:
> We really have heavy UI. We also make database calls when we use the
> cell editing in KTable from our RAP application.
>
> As we are moving from RAP to RAP,I was thinking if we move from KTable
> to TableViewer and have say 200 records in the table viewer. Now i am
> editing a particular cell and behind the scenes making a call to the
> databse, then in this scenario will my complete table will be redrwan or
> the affeced cell will be redrawn.
>
>
>
>
--
Rüdiger Herrmann

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:KTable rendering
Next Topic:[GEF] issue with Flyout palette
Goto Forum:
  


Current Time: Thu Apr 25 07:40:54 GMT 2024

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

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

Back to the top