flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Tynjala <joshtynj...@gmail.com>
Subject Re: [FlexJS] parallel compilation now possible
Date Sun, 25 Dec 2016 16:34:52 GMT
Good stuff. That static state definitely needed to go. Thanks for figuring
out the refactor, Chris!

- Josh

On Dec 25, 2016 8:23 AM, "Christofer Dutz" <christofer.dutz@c-ware.de>

> Hi Guys,
> I just pushed my changed to the compiler, which eliminate the usage of
> some of the static variables for sharing compiler state. Now multiple
> instances of the compilers should be able to run in paralell.
> With this, it is now possible to use one neat Maven option to speed up
> build time dramatically.
> By using the config option „-T 1C“ for example Maven will execute the
> build of modules in paralell using a maximum of one job per CPU core. This
> cut down the build-time of the framework, including assembly and example
> compilation from 1:55 to 0:54 – so it reduced the build time about by half.
> One thing you should keep in mind though. With this setting multiple
> module builds will run in paralell and hereby the plugins will log stuff to
> the console in paralell. This will make the console-output allmost useless.
> So if you are having build problems, be sure to turn the paralell
> compilation off first or I guarantee you won’t make any sense out of the
> output ;-)
> Chris

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message