thanpolas / grunt-closure-tools

Google Closure Tools for grunt
MIT License
95 stars 22 forks source link

Use TieredCompilation? #58

Closed probins closed 10 years ago

probins commented 10 years ago

With Java 7, using TieredCompilation significantly reduces compilation time:

'java -server -XX:+TieredCompilation -jar ...'

I'm not a Java VM expert, and have only a vague idea what this does, but with my own compilations, adding this halves compilation time or better, particularly significant with complicated advanced_optimizations.

thanpolas commented 10 years ago

Does this require a server VM? Thus the XX ?

I'm not familiar with Java too... if you want to give this a try then please move the issue to https://github.com/thanpolas/task-closure-tools i just remembered we have a forgotten optimization that needs some attention.