on 05-02-2007 3:18 PM
Hi,
We are writing a webdynpro application which is going to show a massive 'View'.
It's a table with about 15 columns, tree embedded, dropdowns, checkboxes, images, link2URL etc are all used in this table.
What's worse is that this table takes about 4-5 mins to render the HTML when there are more than 2000 lines.
We know this is going to be slow, but we are hoping to improve the performance.
Having switched on the sap-wd-showInfo=X I see the following:
Browser 272552(parsing: 1485, HTML: 264943, JSBefore 15, JSAfter 6109) J2EE: 6583 Back-End: 15 Estimated Response Size: 17214K.
How is it possible to spead up the HTML rendering part?
What really is the HTML rendering time showing?
Does this have to do with browser/client PC speed?
How do I know if I am running in SSR or CSR mode?
Using: NW04s 7.00 SP8 (Java stand-alone).
Application will be running through the portal.
Cheers,
Michael
Why do you want to display 17214 kBytes of HTML in one page?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Both very valid questions.
We are showing so much data as a business requirement, so not too much we can do about that. In that 17mb, there is are approx 1 mb of images, and about 2000 rows of table contents, mainly text. This shows the javascripts behind the webdynpro page is just simply massive.
Out of curiosity is it possible to force the server to render everything and then send across?
Cheers,
Michael.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ridiculous businesss requirements, that's all I can say.
We found out what the problem is. McAfee Anti-Virus has somethign called Script-Scan.
It scans everythign and eats up your CPU.
We turned it off, and performance is increased by heaps. Somethign taht used to take minutes to display now takes 30 secs tops.
Michael,
It has nothing to take with anythings setting, what you can do is just restrict table for fewer rows, and follow principle of "Just-In_Time Inventory".
This means , at the footer of table give custom button(they should be just like what you get in default setting of table) rather than using what Table UI element provides, bind one action with those custom buttons , so on every click event you gotta call some more rows . Say , initially you will show user 200 rows and when the table is about to show 201th row call bapi/ejb and populate the table with next 200 chunk of rows. This is the only solution
I also, once faced same problem and resolved like above.
hope it helps
let me know if you face any problem
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.