- Affected version
- 2.3.13
With a local Closure Compiler configured xf-addon:build-release starts a separate JVM for each JavaScript file in the minify list in build.json. Building add-on with 34 JavaScript files took 60+ seconds on Windows
Setting -XX:TieredStopAtLevel=1 reduces total build time by half
Also running Closure Compiler in a single JVM per release build could eliminate repeated JVM startup while still compiling each file independently and more significant reduce total build time
Setting -XX:TieredStopAtLevel=1 reduces total build time by half
Also running Closure Compiler in a single JVM per release build could eliminate repeated JVM startup while still compiling each file independently and more significant reduce total build time