Re: Load time is very slow

2021-12-27 Thread Roman Isitua
I guess I am in the same situation as you. I am using modules in my app. I am using modules for two main reasons. - compile times. With modules as I am adding new features to the app, compile times will not be affected too much. This is very useful for my small team. We are not using the latest wo

Re: Load time is very slow

2021-12-27 Thread Harbs
> On Dec 27, 2021, at 2:04 PM, Roman Isitua wrote: > > - compile times. With modules as I am adding new features to the app, compile > times will not be affected too much. > This is very useful for my small team. We are not using the latest > workstation with bleeding edge processors. My lap

Re: Load time is very slow

2021-12-27 Thread Harbs
If you could try out the feature/ROYALE_INTERFACE_INFO branch and let me know if that helps, it would be very helpful. You need to pull that branch both for royale-compiler and royale-asjs. > On Dec 27, 2021, at 2:04 PM, Roman Isitua wrote: > > So I definitely need to figure out how to get mo

Re: Load time is very slow

2021-12-27 Thread Roman Isitua
Find my responses below On Mon, Dec 27, 2021 at 1:40 PM Harbs wrote: > > > On Dec 27, 2021, at 2:04 PM, Roman Isitua wrote: > > - compile times. With modules as I am adding new features to the app, > compile times will not be affected too much. > This is very useful for my small team. We are n

Re: Load time is very slow

2021-12-27 Thread Roman Isitua
What feature are you referring to here ? Minification of modules ? Please clarify. On Mon, Dec 27, 2021 at 1:44 PM Harbs wrote: > If you could try out the feature/ROYALE_INTERFACE_INFO branch and let me > know if that helps, it would be very helpful. > > You need to pull that branch both for ro

Re: Load time is very slow

2021-12-27 Thread Harbs
> Compile times of debug builds should be very fast. What compile times are you > seeing? > > What I mean is that, if we develop the entire application using only one > module, as we add new functionality, compile times will continue to increase. > With the modular approach, functionality is

Re: Load time is very slow

2021-12-27 Thread Harbs
Yes. I made some changes which I’m hoping might help for modules. > On Dec 27, 2021, at 3:06 PM, Roman Isitua wrote: > > What feature are you referring to here ? Minification of modules ? Please > clarify. > > > On Mon, Dec 27, 2021 at 1:44 PM Harbs > wrote: > I

Re: Load time is very slow

2021-12-27 Thread Roman Isitua
On Mon, Dec 27, 2021 at 2:11 PM Harbs wrote: > Compile times of debug builds should be very fast. What compile times are >> you seeing? >> > > What I mean is that, if we develop the entire application using only > one module, as we add new functionality, compile times will continue to > increas

Re: Load time is very slow

2021-12-27 Thread Roman Isitua
Would definitely not mind trying this out. I have built 0.9.8 from source before following the instructions here https://royale.apache.org/source-code/ I checked out the branch "develop" and built the source. My app uses maven. How can I test this out ? On Mon, Dec 27, 2021 at 2:12 PM Harbs

Re: Load time is very slow

2021-12-27 Thread Harbs
That doesn’t sound right. Are you sure you’re compiling debug and not release? That sounds like release build times. > On Dec 27, 2021, at 3:31 PM, Roman Isitua wrote: > > Wow ! You are using a workstation with a bleeding edge processor. > > I just compiled my app now. It took 44 seconds. (

Re: Load time is very slow

2021-12-27 Thread Harbs
The build instructions should be the same. checkout the branch in both royale-compiler and royale-asjs and rebuild the same way you normally do. This git command should check out the branch. git checkout feature/ROYALE_INTERFACE_INFO If it doesn’t work, details on what happens should help us f

Re: Load time is very slow

2021-12-27 Thread Roman Isitua
I will try this and revert back to you. One question, how do i get my application project to use this branch of apache royale ? My project is maven based. On Mon, 27 Dec 2021, 18:47 Harbs, wrote: > The build instructions should be the same. > > checkout the branch in both royale-compiler and

Re: Load time is very slow

2021-12-27 Thread Piotr Zarzycki
Hi Roman, When you compile framework with artifacts will be stored locally. Next when your application start with compilation it will uses these stored locally artifacts. Thanks, Piotr On Mon, 27 Dec 2021 at 18:52, Roman Isitua wrote: > I will try this and revert back to you. > > One question

Re: Load time is very slow

2021-12-27 Thread Alex Harui
IMO, modularity is a well-proven software development construct. It was key to making some really big Flex apps efficient for both development time as well as initialization time. But like most things, it has to be done properly. Too many small modules will slow initialization time, one huge

RE: Load time is very slow

2021-12-27 Thread Yishay Weiss
> Debug compile times are generally less than 10 seconds. That will depend on the hardware and other running processes. I would guess triple the amount of time for the same code is not uncommon. We have a client now whose devs are seeing four minutes for each iteration, on top of which they hav

Re: Load time is very slow

2021-12-27 Thread Harbs
Four minutes for debug? Wow. Are you sure it’s only JS and debug? That seems insane. > On Dec 28, 2021, at 9:13 AM, Yishay Weiss wrote: > > We have a client now whose devs are seeing four minutes for each iteration, > on top of which they have other startup tasks that can take a few minutes.

Re: Load time is very slow

2021-12-27 Thread Harbs
> IMO, modularity is a well-proven software development construct. I’m willing to concede that there might be places where modules in Royale is a good idea. Although I have a hard time wrapping my head around the application size and complexity where you'd hit that threshold. But applying Flash