Happy New Year!
According to my experience, on Linux OpenFL can build simple projects in fraction of second.
On Windows, something slowdowns running external processes(Haxe) and etc.
On Windows with modern desktop CPU it may take few seconds. On Linux - probably less than second.
So on Windows OpenFL has to go on this chain:
"openfl build flash" -> openfl.bat converts it to "haxelib run build flash"(FD starts from this point) ->
-> haxelib executes "neko run.n build flash" -> "run.n" script generates "build.hxml" file and executes "haxe build.hxml" -> embeds assets
Also running Haxe from USB is also a bad idea, because of compilation times.
Also Haxe compilation server may speed up compilation times there, for not C++ targets, like
Start some Haxe server:
haxe --wait 5000
openfl build flash --connect 5000
and for Windows/Mac/Linux/BlackBerry/iOS/Android:
openfl build windows
Because these targets(C++) will not work with Haxe server and may just hang.
Could you specify your CPU, if you have something like P4, then probably 8 seconds is not so bad, I got something like 4-5 seconds. And it would be good to know which OS you use.
About SSD drive - I would say go Linux, and you will have decent speed up in compilation times.
Slow HDD and/or paranoid antivirus could probably slow down compilation a lot.
вторник, 31 декабря 2013 г., 22:46:41 UTC+2 пользователь Samuel Batista написал: