on 08-14-2005 4:09 PM
I have a view which is taking an incredibly long time to display.
When I monitor wdDoModifyView I see that this function is executed very quickly. What takes ages is the time between the end of this function, and actually seeing something on the screen.
Any ideas what may be causing this? Has anyone had a similar problem?
Walter
Hi Kahn,
There are no of reason for this.One possible solution may be check your connectivity from ur machine to ur server.Check your web dispatcher connectivity with your server also which takes carew of load balancing.
Can u say wht r u exactly doing in ur webdynpro domodify() method so I can exactly get the scenario.
Rdgs,
G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to all answers I have received so far. After further investigation the problem seems to be that on FIRST call to the application, the initial window takes a long time to display (several seconds). I created an extremely simple WebDynpro application, one view with a piece of text.
Once the WebDynpro application is running it is fast, but if I click refresh in the web browser, the application reloads (as expected) but is again very slow until it displays the screen.
I am using Netweaver SP12. Has anyone else had a similar problem? In SP9 the application loaded almost instantaneously.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
My assumption is apart from how webdynpro renders the view etc etc...performace may depends upon the different services running on your machine and other many parameter.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Walter,
wdDoModifyView is only a hook method that allows you to dynamically change UI. So if you keep it simple (or empty) the method returns quickly.
The next phase (right after wdDoModifyView) is rendering UI controls to some client-specific format (say, HTML + JavaScript for browser). So the possible reasons for bad performance are:
1. You have very complex UI. Rare case, but if you have several thousands controls, then you can imagine time required to process them and the size of output
2. More realistic: during rendering of UI validation of context node occurs. So necessary supply functions are called. If this require remote call (JCo, WebService, etc) then performance penalty is significant.
If the reason is [2] then:
1. Try to avoid totaly exposed trees or tree tables
2. Split UI on several tabs of multi-step views (a-la wizard): only visible controls cause validation of related context.
3. Place related portions of UI into collapsed trays: "only visible is validated" rule works here as well.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.