You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Maria Jose Esteve <mj...@iest.com> on 2022/01/12 23:25:26 UTC

RE: Load time is very slow

Hi, @Harb, the branches "feature/ROYALE_INTERFACE_INFO" are you going to merge them or were they test branches?

I still can't launch in release.
The actual test: All the code is in the main application project and I'm trying to solve some "new" problems with crux 馃槤

Hiedra

De: Maria Jose Esteve <mj...@iest.com>
Enviado el: mi茅rcoles, 29 de diciembre de 2021 3:06
Para: users@royale.apache.org
Asunto: RE: Load time is very slow

Sorry, the previous tests WERE NOT CORRECT because I was not in the ROYALE_INTERFACE_INFO branch of royale-asjs.
Now I have compiled in the correct branches of royale-compiler and royale-asjs and the result, in my case, is the same as before:

- Debug execution, everything ok

- Execution release error:



[cid:image001.png@01D80814.0DC96460]


MasterConfigSystemModel is in my library, inside one of the modules.

This result is the same as the build, develop, of the full SDK as of 23.12.2021.

Hiedra

De: Maria Jose Esteve <mj...@iest.com>>
Enviado el: mi茅rcoles, 29 de diciembre de 2021 1:20
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: RE: Load time is very slow

Hi, Let me join you with these tests....

@Harb, I have compiled the SDK from this branch, feature/ROYALE_INTERFACE_INFO,  and when running in debug I get this error:

Message on the PURGE CONSOLE is displayed:

Cannot convert  org.apache.royale.reflection.beads.ClassAliasBead  to IBead

Message in the IDE Window:

Se produjo una excepci贸n: TypeError: Cannot convert [object Object] to IBead
  at App.org.apache.royale.core.ElementWrapper.addBead (http://localhost:8080/WNetSuitePlus/org/apache/royale/core/ElementWrapper.js:114:11)
    at App.org.apache.royale.core.HTMLElementWrapper.addBead (http://localhost:8080/WNetSuitePlus/org/apache/royale/core/HTMLElementWrapper.js:43:65)
    at App.org.apache.royale.jewel.Application.start (http://localhost:8080/WNetSuitePlus/org/apache/royale/jewel/Application.js:246:10)
    at App.App_loadXML (http://localhost:8080/WNetSuitePlus/App.js:1681:25)
    at org.apache.royale.net.URLLoader.org.apache.royale.events.EventDispatcher.fireListeners (http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:97:23)
    at Function.goog.events.EventTarget.dispatchEventInternal_ (http://localhost:8080/WNetSuitePlus/library/closure/goog/events/eventtarget.js:381:26)
    at org.apache.royale.net.URLLoader.org.apache.royale.events.EventDispatcher.dispatchEvent (http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:72:37)
    at org.apache.royale.net.URLLoader.jsEventHandler (http://localhost:8080/WNetSuitePlus/org/apache/royale/net/URLLoader.js:169:12)

Call stack:

[cid:image002.png@01D80814.0DC96460]

[INFO] Executing MXMLC in tool group Royale with args: [
-load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\compile-app-config.xml,
-js-default-initializers=true,
-source-map=true,
-js-dynamic-access-unknown-members=true,
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient,
-keep-code-with-metadata=Inject,
-show-binding-warnings=false,
-export-public-symbols=false,
-prevent-rename-protected-symbols=false,
-prevent-rename-internal-symbols=false,
-js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\javascript,
-compiler.targets=JSRoyale,
D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml


The release execution does not change, the error is the same as before (SDK compilation from the develop branch):

Se produjo una excepci贸n: ReferenceError: Error #1065: Variable com.iest.winplusweb.models.MasterConfigSystemModel is not defined.
  at yR (http://localhost:8080/WPWebRelease/App.js:3605:1771)
    at Mya (http://localhost:8080/WPWebRelease/App.js:3343:365)
    at AR.J.usa (http://localhost:8080/WPWebRelease/App.js:434:441)
    at GFa.J.fromTypeDefinition (http://localhost:8080/WPWebRelease/App.js:5706:139)
    at Function.YT.getTypeDescriptor (http://localhost:8080/WPWebRelease/App.js:4570:820)
    at Function.fX.constructBean (http://localhost:8080/WPWebRelease/App.js:2336:472)
    at r$.J.initialize (http://localhost:8080/WPWebRelease/App.js:5041:66)
    at OW.J.init (http://localhost:8080/WPWebRelease/App.js:950:452)
    at OW.J.u (http://localhost:8080/WPWebRelease/App.js:951:454)
    at $$.J.addBead (http://localhost:8080/WPWebRelease/App.js:357:549)

The main difference:
project compiled from "SDK-develop" runs fine in js-debug and gives error in js-release and, compiled from "SDK-ROYALE_INTERFACE_INFO" does not launch because of conversion error.

Hiedra

De: Roman Isitua <ro...@gmail.com>>
Enviado el: martes, 28 de diciembre de 2021 15:55
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Load time is very slow

@Harb

I have checked out the feature/ROYALE_INTERFACE_INFO branch and compiled asjs and compiler. I have rebuilt my application with modules in release mode.

I get the following error when I attempt to launch a module


[cid:image003.png@01D80814.0DC96460]


The module loads fine in debug mode

[cid:image004.png@01D80814.0DC96460]


Snippets of the log

Overview.js:786 Uncaught TypeError: cm.valuesImpl.init is not a function
    at Rr.Mr.yl (Overview.js:786)
    at Function.iq.generateMXMLProperties (Overview.js:736)
    at Rr.hq.generateMXMLAttributes (Overview.js:546)
    at new Rr (Overview.js:804)
    at LN.J.loadHandler (FrontEnd.js:1967)
Mr.yl @ Overview.js:786
iq.generateMXMLProperties @ Overview.js:736
hq.generateMXMLAttributes @ Overview.js:546
Rr @ Overview.js:804
J.loadHandler @ FrontEnd.js:1967
load (async)
LN.loadModule @ FrontEnd.js:1965
dN.loadModule @ FrontEnd.js:2406
LD.Un @ FrontEnd.js:1809
ny @ FrontEnd.js:123
ny @ FrontEnd.js:248
iy @ FrontEnd.js:125
b @ FrontEnd.js:121


I have attached the full log to this email.




On Tue, Dec 28, 2021 at 2:51 PM Roman Isitua <ro...@gmail.com>> wrote:
Hi Maria,

Prior to starting this mail discussion "Load time is very slow". I can confirm I have only been compiling in debug mode. My target\javascript\bin\ only had js-debug. It was after I upgraded my royale sdk from 0.9.7 to 0.9.8 that I compiled in release mode.



On Tue, Dec 28, 2021 at 2:24 PM Maria Jose Esteve <mj...@iest.com>> wrote:
Hi, @Roman, I think you are doing a double compile can it be? My times are the same as yours and I always compile in debug and release.

Look at your target folder " target\javascript\bin\" and if you have two folders: js-debug and js-release you are compiling always double.

In my case, the architecture of my project as well as the Maven compilation files (pom.xml) were provided by an external company (we didn't know anything about Maven or Royale at that time) and I understand that this formula was chosen to show us the options we had.

A priori and without doing any test as Harb has done, I think that modularity gives us the advantage of compiling parts of the code once and not compiling them again if they are not modified. So far WITH MY COMPILATION TIMES, sometimes more than 1 minute, this is fundamental. But of course, now we have the problem of minification of the modules and it is really a serious problem because it is impossible for us to deploy in production.

I will try to separate the compiaci贸n realese with a profile and if I succeed I will pass it to you @Roman.

@Harb what do you mean by compiling the ROYALE_INTERFACE_INFO branch?

Hiedra

De: Harbs <ha...@gmail.com>>
Enviado el: lunes, 27 de diciembre de 2021 18:32
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Load time is very slow

That doesn鈥檛 sound right.

Are you sure you鈥檙e compiling debug and not release? That sounds like release build times.

On Dec 27, 2021, at 3:31 PM, Roman Isitua <ro...@gmail.com>> wrote:

 Wow ! You are using a workstation with a bleeding edge processor.

 I just compiled my app now. It took 44 seconds. (First compilation after ide start up.) Subsequently compilations are usually 19s to 20s.

 My application code base is very very small compared to yours.  As we continue to add functionality, I expect the compile times to rise.



RE: Load time is very slow

Posted by Maria Jose Esteve <mj...@iest.com>.
Great ;P
thx

Hiedra

De: Harbs <ha...@gmail.com>
Enviado el: jueves, 13 de enero de 2022 0:28
Para: users@royale.apache.org
Asunto: Re: Load time is very slow

The branch is a breaking change (libraries will need to be recompiled to work after merging).

I still have some work to do, and it鈥檒l likely be a couple/few weeks before I can get to that.


On Jan 13, 2022, at 1:25 AM, Maria Jose Esteve <mj...@iest.com>> wrote:

Hi, @Harb, the branches "feature/ROYALE_INTERFACE_INFO" are you going to merge them or were they test branches?

I still can't launch in release.
The actual test: All the code is in the main application project and I'm trying to solve some "new" problems with crux 馃槤

Hiedra

De: Maria Jose Esteve <mj...@iest.com>>
Enviado el: mi茅rcoles, 29 de diciembre de 2021 3:06
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: RE: Load time is very slow

Sorry, the previous tests WERE NOT CORRECT because I was not in the ROYALE_INTERFACE_INFO branch of royale-asjs.
Now I have compiled in the correct branches of royale-compiler and royale-asjs and the result, in my case, is the same as before:
- Debug execution, everything ok
- Execution release error:

<image001.png>

MasterConfigSystemModel is in my library, inside one of the modules.

This result is the same as the build, develop, of the full SDK as of 23.12.2021.

Hiedra

De: Maria Jose Esteve <mj...@iest.com>>
Enviado el: mi茅rcoles, 29 de diciembre de 2021 1:20
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: RE: Load time is very slow

Hi, Let me join you with these tests....

@Harb, I have compiled the SDK from this branch, feature/ROYALE_INTERFACE_INFO,  and when running in debug I get this error:

Message on the PURGE CONSOLE is displayed:

Cannot convert  org.apache.royale.reflection.beads.ClassAliasBead  to IBead

Message in the IDE Window:

Se produjo una excepci贸n: TypeError: Cannot convert [object Object] to IBead
  at App.org.apache.royale.core.ElementWrapper.addBead (http://localhost:8080/WNetSuitePlus/org/apache/royale/core/ElementWrapper.js:114:11)
    at App.org.apache.royale.core.HTMLElementWrapper.addBead (http://localhost:8080/WNetSuitePlus/org/apache/royale/core/HTMLElementWrapper.js:43:65)
    at App.org.apache.royale.jewel.Application.start (http://localhost:8080/WNetSuitePlus/org/apache/royale/jewel/Application.js:246:10)
    at App.App_loadXML (http://localhost:8080/WNetSuitePlus/App.js:1681:25)
    at org.apache.royale.net.URLLoader.org.apache.royale.events.EventDispatcher.fireListeners (http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:97:23)
    at Function.goog.events.EventTarget.dispatchEventInternal_ (http://localhost:8080/WNetSuitePlus/library/closure/goog/events/eventtarget.js:381:26)
    at org.apache.royale.net.URLLoader.org.apache.royale.events.EventDispatcher.dispatchEvent (http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:72:37)
    at org.apache.royale.net.URLLoader.jsEventHandler (http://localhost:8080/WNetSuitePlus/org/apache/royale/net/URLLoader.js:169:12)

Call stack:

<image002.png>

[INFO] Executing MXMLC in tool group Royale with args: [
-load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\compile-app-config.xml,
-js-default-initializers=true,
-source-map=true,
-js-dynamic-access-unknown-members=true,
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient,
-keep-code-with-metadata=Inject,
-show-binding-warnings=false,
-export-public-symbols=false,
-prevent-rename-protected-symbols=false,
-prevent-rename-internal-symbols=false,
-js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\javascript,
-compiler.targets=JSRoyale,
D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml


The release execution does not change, the error is the same as before (SDK compilation from the develop branch):

Se produjo una excepci贸n: ReferenceError: Error #1065: Variable com.iest.winplusweb.models.MasterConfigSystemModel is not defined.
  at yR (http://localhost:8080/WPWebRelease/App.js:3605:1771)
    at Mya (http://localhost:8080/WPWebRelease/App.js:3343:365)
    at AR.J.usa (http://localhost:8080/WPWebRelease/App.js:434:441)
    at GFa.J.fromTypeDefinition (http://localhost:8080/WPWebRelease/App.js:5706:139)
    at Function.YT.getTypeDescriptor (http://localhost:8080/WPWebRelease/App.js:4570:820)
    at Function.fX.constructBean (http://localhost:8080/WPWebRelease/App.js:2336:472)
    at r$.J.initialize (http://localhost:8080/WPWebRelease/App.js:5041:66)
    at OW.J.init (http://localhost:8080/WPWebRelease/App.js:950:452)
    at OW.J.u (http://localhost:8080/WPWebRelease/App.js:951:454)
    at $$.J.addBead (http://localhost:8080/WPWebRelease/App.js:357:549)

The main difference:
project compiled from "SDK-develop" runs fine in js-debug and gives error in js-release and, compiled from "SDK-ROYALE_INTERFACE_INFO" does not launch because of conversion error.

Hiedra

De: Roman Isitua <ro...@gmail.com>>
Enviado el: martes, 28 de diciembre de 2021 15:55
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Load time is very slow

@Harb

I have checked out the feature/ROYALE_INTERFACE_INFO branch and compiled asjs and compiler. I have rebuilt my application with modules in release mode.

I get the following error when I attempt to launch a module


<image003.png>


The module loads fine in debug mode

<image004.png>


Snippets of the log

Overview.js:786 Uncaught TypeError: cm.valuesImpl.init is not a function
    at Rr.Mr.yl (Overview.js:786)
    at Function.iq.generateMXMLProperties (Overview.js:736)
    at Rr.hq.generateMXMLAttributes (Overview.js:546)
    at new Rr (Overview.js:804)
    at LN.J.loadHandler (FrontEnd.js:1967)
Mr.yl @ Overview.js:786
iq.generateMXMLProperties @ Overview.js:736
hq.generateMXMLAttributes @ Overview.js:546
Rr @ Overview.js:804
J.loadHandler @ FrontEnd.js:1967
load (async)
LN.loadModule @ FrontEnd.js:1965
dN.loadModule @ FrontEnd.js:2406
LD.Un @ FrontEnd.js:1809
ny @ FrontEnd.js:123
ny @ FrontEnd.js:248
iy @ FrontEnd.js:125
b @ FrontEnd.js:121


I have attached the full log to this email.




On Tue, Dec 28, 2021 at 2:51 PM Roman Isitua <ro...@gmail.com>> wrote:
Hi Maria,

Prior to starting this mail discussion "Load time is very slow". I can confirm I have only been compiling in debug mode. My target\javascript\bin\ only had js-debug. It was after I upgraded my royale sdk from 0.9.7 to 0.9.8 that I compiled in release mode.



On Tue, Dec 28, 2021 at 2:24 PM Maria Jose Esteve <mj...@iest.com>> wrote:
Hi, @Roman, I think you are doing a double compile can it be? My times are the same as yours and I always compile in debug and release.

Look at your target folder " target\javascript\bin\" and if you have two folders: js-debug and js-release you are compiling always double.

In my case, the architecture of my project as well as the Maven compilation files (pom.xml) were provided by an external company (we didn't know anything about Maven or Royale at that time) and I understand that this formula was chosen to show us the options we had.

A priori and without doing any test as Harb has done, I think that modularity gives us the advantage of compiling parts of the code once and not compiling them again if they are not modified. So far WITH MY COMPILATION TIMES, sometimes more than 1 minute, this is fundamental. But of course, now we have the problem of minification of the modules and it is really a serious problem because it is impossible for us to deploy in production.

I will try to separate the compiaci贸n realese with a profile and if I succeed I will pass it to you @Roman.

@Harb what do you mean by compiling the ROYALE_INTERFACE_INFO branch?

Hiedra

De: Harbs <ha...@gmail.com>>
Enviado el: lunes, 27 de diciembre de 2021 18:32
Para: users@royale.apache.org<ma...@royale.apache.org>
Asunto: Re: Load time is very slow

That doesn鈥檛 sound right.

Are you sure you鈥檙e compiling debug and not release? That sounds like release build times.

On Dec 27, 2021, at 3:31 PM, Roman Isitua <ro...@gmail.com>> wrote:

 Wow ! You are using a workstation with a bleeding edge processor.

 I just compiled my app now. It took 44 seconds. (First compilation after ide start up.) Subsequently compilations are usually 19s to 20s.

 My application code base is very very small compared to yours.  As we continue to add functionality, I expect the compile times to rise.




Re: Load time is very slow

Posted by Harbs <ha...@gmail.com>.
The branch is a breaking change (libraries will need to be recompiled to work after merging).

I still have some work to do, and it鈥檒l likely be a couple/few weeks before I can get to that.

> On Jan 13, 2022, at 1:25 AM, Maria Jose Esteve <mj...@iest.com> wrote:
> 
> Hi, @Harb, the branches "feature/ROYALE_INTERFACE_INFO" are you going to merge them or were they test branches?
>  
> I still can't launch in release.
> The actual test: All the code is in the main application project and I'm trying to solve some "new" problems with crux 馃槤
>  
> Hiedra
>  
> De: Maria Jose Esteve <mjesteve@iest.com <ma...@iest.com>> 
> Enviado el: mi茅rcoles, 29 de diciembre de 2021 3:06
> Para: users@royale.apache.org <ma...@royale.apache.org>
> Asunto: RE: Load time is very slow
>  
> Sorry, the previous tests WERE NOT CORRECT because I was not in the ROYALE_INTERFACE_INFO branch of royale-asjs.
> Now I have compiled in the correct branches of royale-compiler and royale-asjs and the result, in my case, is the same as before:
> - Debug execution, everything ok
> - Execution release error:
>  
> <image001.png>
>  
> MasterConfigSystemModel is in my library, inside one of the modules.
>  
> This result is the same as the build, develop, of the full SDK as of 23.12.2021.
>  
> Hiedra
>  
> De: Maria Jose Esteve <mjesteve@iest.com <ma...@iest.com>> 
> Enviado el: mi茅rcoles, 29 de diciembre de 2021 1:20
> Para: users@royale.apache.org <ma...@royale.apache.org>
> Asunto: RE: Load time is very slow
>  
> Hi, Let me join you with these tests....
>  
> @Harb, I have compiled the SDK from this branch, feature/ROYALE_INTERFACE_INFO,  and when running in debug I get this error:
>  
> Message on the PURGE CONSOLE is displayed:
>  
> Cannot convert  org.apache.royale.reflection.beads.ClassAliasBead  to IBead
>  
> Message in the IDE Window:
>  
> Se produjo una excepci贸n: TypeError: Cannot convert [object Object] to IBead
>   at App.org.apache.royale.core.ElementWrapper.addBead (http://localhost:8080/WNetSuitePlus/org/apache/royale/core/ElementWrapper.js:114:11 <http://localhost:8080/WNetSuitePlus/org/apache/royale/core/ElementWrapper.js:114:11>)
>     at App.org.apache.royale.core.HTMLElementWrapper.addBead (http://localhost:8080/WNetSuitePlus/org/apache/royale/core/HTMLElementWrapper.js:43:65 <http://localhost:8080/WNetSuitePlus/org/apache/royale/core/HTMLElementWrapper.js:43:65>)
>     at App.org.apache.royale.jewel.Application.start (http://localhost:8080/WNetSuitePlus/org/apache/royale/jewel/Application.js:246:10 <http://localhost:8080/WNetSuitePlus/org/apache/royale/jewel/Application.js:246:10>)
>     at App.App_loadXML (http://localhost:8080/WNetSuitePlus/App.js:1681:25 <http://localhost:8080/WNetSuitePlus/App.js:1681:25>)
>     at org.apache.royale.net.URLLoader.org.apache.royale.events.EventDispatcher.fireListeners (http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:97:23 <http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:97:23>)
>     at Function.goog.events.EventTarget.dispatchEventInternal_ (http://localhost:8080/WNetSuitePlus/library/closure/goog/events/eventtarget.js:381:26 <http://localhost:8080/WNetSuitePlus/library/closure/goog/events/eventtarget.js:381:26>)
>     at org.apache.royale.net.URLLoader.org.apache.royale.events.EventDispatcher.dispatchEvent (http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:72:37 <http://localhost:8080/WNetSuitePlus/org/apache/royale/events/EventDispatcher.js:72:37>)
>     at org.apache.royale.net.URLLoader.jsEventHandler (http://localhost:8080/WNetSuitePlus/org/apache/royale/net/URLLoader.js:169:12 <http://localhost:8080/WNetSuitePlus/org/apache/royale/net/URLLoader.js:169:12>)
>  
> Call stack:
>  
> <image002.png>
>  
> [INFO] Executing MXMLC in tool group Royale with args: [
> -load-config=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\compile-app-config.xml,
> -js-default-initializers=true,
> -source-map=true,
> -js-dynamic-access-unknown-members=true,
> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient,
> -keep-code-with-metadata=Inject,
> -show-binding-warnings=false,
> -export-public-symbols=false,
> -prevent-rename-protected-symbols=false,
> -prevent-rename-internal-symbols=false,
> -js-output=D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\target\javascript,
> -compiler.targets=JSRoyale,
> D:\Develop_Royale\Projects\WinPlusWebSuite\royaleapp\royalelogin\src\main\royale\App.mxml
>  
>  
> The release execution does not change, the error is the same as before (SDK compilation from the develop branch):
>  
> Se produjo una excepci贸n: ReferenceError: Error #1065: Variable com.iest.winplusweb.models.MasterConfigSystemModel is not defined.
>   at yR (http://localhost:8080/WPWebRelease/App.js:3605:1771 <http://localhost:8080/WPWebRelease/App.js:3605:1771>)
>     at Mya (http://localhost:8080/WPWebRelease/App.js:3343:365 <http://localhost:8080/WPWebRelease/App.js:3343:365>)
>     at AR.J.usa (http://localhost:8080/WPWebRelease/App.js:434:441 <http://localhost:8080/WPWebRelease/App.js:434:441>)
>     at GFa.J.fromTypeDefinition (http://localhost:8080/WPWebRelease/App.js:5706:139 <http://localhost:8080/WPWebRelease/App.js:5706:139>)
>     at Function.YT.getTypeDescriptor (http://localhost:8080/WPWebRelease/App.js:4570:820 <http://localhost:8080/WPWebRelease/App.js:4570:820>)
>     at Function.fX.constructBean (http://localhost:8080/WPWebRelease/App.js:2336:472 <http://localhost:8080/WPWebRelease/App.js:2336:472>)
>     at r$.J.initialize (http://localhost:8080/WPWebRelease/App.js:5041:66 <http://localhost:8080/WPWebRelease/App.js:5041:66>)
>     at OW.J.init (http://localhost:8080/WPWebRelease/App.js:950:452 <http://localhost:8080/WPWebRelease/App.js:950:452>)
>     at OW.J.u (http://localhost:8080/WPWebRelease/App.js:951:454 <http://localhost:8080/WPWebRelease/App.js:951:454>)
>     at $$.J.addBead (http://localhost:8080/WPWebRelease/App.js:357:549 <http://localhost:8080/WPWebRelease/App.js:357:549>)
>  
> The main difference:
> project compiled from "SDK-develop" runs fine in js-debug and gives error in js-release and, compiled from "SDK-ROYALE_INTERFACE_INFO" does not launch because of conversion error.
>  
> Hiedra
>  
> De: Roman Isitua <romanisitua@gmail.com <ma...@gmail.com>> 
> Enviado el: martes, 28 de diciembre de 2021 15:55
> Para: users@royale.apache.org <ma...@royale.apache.org>
> Asunto: Re: Load time is very slow
>  
> @Harb
>  
> I have checked out the feature/ROYALE_INTERFACE_INFO branch and compiled asjs and compiler. I have rebuilt my application with modules in release mode.
>  
> I get the following error when I attempt to launch a module
>  
>  
> <image003.png>
>  
>  
> The module loads fine in debug mode
>  
> <image004.png>
>  
>  
> Snippets of the log
>  
> Overview.js:786 Uncaught TypeError: cm.valuesImpl.init is not a function
>     at Rr.Mr.yl (Overview.js:786)
>     at Function.iq.generateMXMLProperties (Overview.js:736)
>     at Rr.hq.generateMXMLAttributes (Overview.js:546)
>     at new Rr (Overview.js:804)
>     at LN.J.loadHandler (FrontEnd.js:1967)
> Mr.yl @ Overview.js:786
> iq.generateMXMLProperties @ Overview.js:736
> hq.generateMXMLAttributes @ Overview.js:546
> Rr @ Overview.js:804
> J.loadHandler @ FrontEnd.js:1967
> load (async)
> LN.loadModule @ FrontEnd.js:1965
> dN.loadModule @ FrontEnd.js:2406
> LD.Un @ FrontEnd.js:1809
> ny @ FrontEnd.js:123
> ny @ FrontEnd.js:248
> iy @ FrontEnd.js:125
> b @ FrontEnd.js:121
>  
>  
> I have attached the full log to this email.
>  
>  
>  
>  
> On Tue, Dec 28, 2021 at 2:51 PM Roman Isitua <romanisitua@gmail.com <ma...@gmail.com>> wrote:
> Hi Maria,
>  
> Prior to starting this mail discussion "Load time is very slow". I can confirm I have only been compiling in debug mode. My target\javascript\bin\ only had js-debug. It was after I upgraded my royale sdk from 0.9.7 to 0.9.8 that I compiled in release mode.
>  
>  
>  
> On Tue, Dec 28, 2021 at 2:24 PM Maria Jose Esteve <mjesteve@iest.com <ma...@iest.com>> wrote:
> Hi, @Roman, I think you are doing a double compile can it be? My times are the same as yours and I always compile in debug and release.
>  
> Look at your target folder " target\javascript\bin\" and if you have two folders: js-debug and js-release you are compiling always double.
>  
> In my case, the architecture of my project as well as the Maven compilation files (pom.xml) were provided by an external company (we didn't know anything about Maven or Royale at that time) and I understand that this formula was chosen to show us the options we had.
>  
> A priori and without doing any test as Harb has done, I think that modularity gives us the advantage of compiling parts of the code once and not compiling them again if they are not modified. So far WITH MY COMPILATION TIMES, sometimes more than 1 minute, this is fundamental. But of course, now we have the problem of minification of the modules and it is really a serious problem because it is impossible for us to deploy in production.
>  
> I will try to separate the compiaci贸n realese with a profile and if I succeed I will pass it to you @Roman.
>  
> @Harb what do you mean by compiling the ROYALE_INTERFACE_INFO branch?
>  
> Hiedra
>  
> De: Harbs <harbs.lists@gmail.com <ma...@gmail.com>> 
> Enviado el: lunes, 27 de diciembre de 2021 18:32
> Para: users@royale.apache.org <ma...@royale.apache.org>
> Asunto: Re: Load time is very slow
>  
> That doesn鈥檛 sound right.
>  
> Are you sure you鈥檙e compiling debug and not release? That sounds like release build times.
>  
> 
> On Dec 27, 2021, at 3:31 PM, Roman Isitua <romanisitua@gmail.com <ma...@gmail.com>> wrote:
>  
>  Wow ! You are using a workstation with a bleeding edge processor.
>  
>  I just compiled my app now. It took 44 seconds. (First compilation after ide start up.) Subsequently compilations are usually 19s to 20s.
>  
>  My application code base is very very small compared to yours.  As we continue to add functionality, I expect the compile times to rise.
>  
>