Closed ylazy closed 1 year ago
If you enable as3mxml.asconfigc.verboseOutput
in VSCode's settings, you should see more detail about what is happening during the build process.
There are several tasks that could happen before compilation starts. Not all of them apply to every project, but it could certainly be some of these things that are taking a bit of time:
Thank you for the response & sorry for long delay! After many days I finally find out what "eaten" ~12s of my compiling time:
Extracting native extensions for debugging
The WebViewANE (FreSharp.ane + WebViewANE.ane) takes too long time for extracting.
I think it's not necessary to extract native exensions again and again. It should be extract once and cache for the next time of compiling. These anes could be re-extracted if the date modified changes.
Could you consider to make a fix for this?
Thank you!
Whenever I make a minor change to a class then ctrl+enter to run:
In this case, the output is blank for about 12s, until
Loading configuration: E:\Development\ActionScript\SDK\AdobeAir\Windows\50.2\frameworks\air-config.xml
is displayed. Then 3s for compiling.Is there anyway to cache configurations or even everything before compiling, to get faster compilation? I don't know why but Adobe Animate is 2x faster with the same code:
https://github.com/BowlerHatLLC/vscode-as3mxml/assets/6010183/6c7c8f05-8248-4ba6-a0c9-1a5616dffc13
Thanks!