Debug Performance
Posted: Wed Jan 24, 2018 2:27 am
Is there a correlation to debug performance and the number of generated Javascript files?
I have a VL Web app that has 40 application specific javascript files, this does NOT include the LANSA javascript files. All the web components are getting loaded at once.
I have noticed that debugging is pretty much impossible at this point I have waited for over 10 minutes for the page to rendered. When I debug my VLF-ONE app, the page is rendered much, much faster, normally within a minute or so.
As I was looking the through the scripts I noticed the number in my VL Web app is significantly higher then what is in my VLF-ONE app.
Normally its not a problem and I would debug the javascripts directly with the Chrome debugger, however I can't even debug my server modules because I can't get the page to load to invoke the modules.
So some questions:
I have a VL Web app that has 40 application specific javascript files, this does NOT include the LANSA javascript files. All the web components are getting loaded at once.
I have noticed that debugging is pretty much impossible at this point I have waited for over 10 minutes for the page to rendered. When I debug my VLF-ONE app, the page is rendered much, much faster, normally within a minute or so.
As I was looking the through the scripts I noticed the number in my VL Web app is significantly higher then what is in my VLF-ONE app.
Normally its not a problem and I would debug the javascripts directly with the Chrome debugger, however I can't even debug my server modules because I can't get the page to load to invoke the modules.
So some questions:
- Is it possible to disable debug of ALL web components so that only server components (Server Modules) are debugged?
- Is there a correlation of debug performance to the number of javascript files loaded?
- If there is a correlation, how do you reduce the number of scripts loaded? I assume you have to create the the script components dynamically using CREATE_FROM