JDK-8172236 : Improve gradle incremental build performance
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2017-01-04
  • Updated: 2024-11-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Blocks :  
Blocks :  
Description
Once the JavaFX modules are built, successive incremental builds should be faster.

For e.g., no-op build should be quick and complete in a reasonable time frame. Currently even a no-op build takes 2 to 5 mins depending upon the disk cache hotness.
Comments
"gradle --profile" shows that "buildModule" task takes considerable amount of time during no-op build. Profile report Profiled build: sdk Started on: 2017/01/04 - 17:49:03 Task Execution Task Duration Result : 49.790s (total) :buildModulesMac 45.492s :buildModuleZipMac 4.109s :buildModuleLibsMac 0.152s :javafxSwtIndexMac 0.025s :javafxSwtMac 0.009s :verifyJava 0.002s :createTestArgfilesMac 0.001s UP-TO-DATE :buildModules 0s Did No Work :buildRunArgsMac 0s UP-TO-DATE :createMSPfile 0s UP-TO-DATE :javadoc 0s SKIPPED :sdk 0s Did No Work :sdkMac 0s Did No Work :updateCacheIfNeeded 0s UP-TO-DATE :graphics 18.537s (total) :graphics:buildModuleMac 18.075s :graphics:compileFullJava 0.170s UP-TO-DATE :graphics:compileJava 0.046s UP-TO-DATE :graphics:processPrismShaders 0.038s UP-TO-DATE :graphics:compileDecoraCompilers 0.035s UP-TO-DATE :graphics:processDecoraShaders 0.035s UP-TO-DATE :graphics:compilePrismCompilers 0.031s UP-TO-DATE :graphics:processResources 0.027s UP-TO-DATE :graphics:ccMacPrismSW 0.014s UP-TO-DATE :graphics:generateGrammarSource 0.009s UP-TO-DATE :graphics:ccMacGlass 0.008s UP-TO-DATE :graphics:compileDecoraNativeShadersMac 0.008s UP-TO-DATE :graphics:ccMacIio 0.007s UP-TO-DATE :graphics:generatePrismShaders 0.007s UP-TO-DATE :graphics:ccMacPrismES2 0.005s UP-TO-DATE :graphics:compileJslcJava 0.005s UP-TO-DATE :graphics:ccMacPrism 0.004s UP-TO-DATE :graphics:ccMacFont 0.003s UP-TO-DATE :graphics:generateDecoraShaders 0.003s UP-TO-DATE :graphics:compileShadersJava 0.001s UP-TO-DATE :graphics:linkDecoraNativeShadersMac 0.001s UP-TO-DATE :graphics:linkMacFont 0.001s UP-TO-DATE :graphics:linkMacGlass 0.001s UP-TO-DATE :graphics:linkMacIio 0.001s UP-TO-DATE :graphics:linkMacPrism 0.001s UP-TO-DATE :graphics:linkMacPrismES2 0.001s UP-TO-DATE :graphics:assemble 0s UP-TO-DATE :graphics:classes 0s :graphics:compileDecoraHLSLShaders 0s SKIPPED :graphics:compilePrismHLSLShaders 0s SKIPPED :graphics:jar 0s SKIPPED :graphics:linkMacPrismSW 0s UP-TO-DATE :graphics:nativeDecora 0s UP-TO-DATE :graphics:nativeFont 0s UP-TO-DATE :graphics:nativeGlass 0s UP-TO-DATE :graphics:nativeIio 0s UP-TO-DATE :graphics:nativePrism 0s UP-TO-DATE :graphics:nativePrismES2 0s UP-TO-DATE :graphics:nativePrismSW 0s UP-TO-DATE :graphics:processShaders 0s UP-TO-DATE :graphics:processShadersResources 0s UP-TO-DATE :graphics:shadersClasses 0s UP-TO-DATE :controls 6.420s (total) :controls:buildModuleMac 6.376s :controls:processResources 0.026s UP-TO-DATE :controls:compileJava 0.018s UP-TO-DATE :controls:assemble 0s UP-TO-DATE :controls:classes 0s UP-TO-DATE :controls:jar 0s SKIPPED :base 3.213s (total) :base:buildModuleMac 3.197s :base:compileJava 0.014s UP-TO-DATE :base:processResources 0.001s UP-TO-DATE :base:processVersionInfo 0.001s UP-TO-DATE :base:assemble 0s UP-TO-DATE :base:classes 0s UP-TO-DATE :base:jar 0s SKIPPED :web 2.731s (total) :web:buildModuleMac 2.706s :web:compileJava 0.012s UP-TO-DATE :web:processResources 0.009s UP-TO-DATE :web:copyPreGeneratedWrappers 0.003s UP-TO-DATE :web:classes 0.001s UP-TO-DATE :web:assemble 0s UP-TO-DATE :web:jar 0s SKIPPED :media 1.032s (total) :media:buildModuleMac 1.021s :media:compileJava 0.007s UP-TO-DATE :media:processResources 0.004s UP-TO-DATE :media:assemble 0s UP-TO-DATE :media:classes 0s UP-TO-DATE :media:jar 0s SKIPPED :fxpackager 0.907s (total) :fxpackager:buildModuleMac 0.800s :fxpackager:antpluginJar 0.045s UP-TO-DATE :fxpackager:processResources 0.034s UP-TO-DATE :fxpackager:compileAntpluginJava 0.006s UP-TO-DATE :fxpackager:buildJavaPackager 0.005s :fxpackager:copyRedistributableFiles 0.005s :fxpackager:compileJava 0.004s UP-TO-DATE :fxpackager:buildMacLauncher 0.002s UP-TO-DATE :fxpackager:compileMacLibrary 0.002s UP-TO-DATE :fxpackager:classes 0.001s :fxpackager:compileLauncher 0.001s UP-TO-DATE :fxpackager:linkMacLibrary 0.001s UP-TO-DATE :fxpackager:man 0.001s UP-TO-DATE :fxpackager:antpluginClasses 0s UP-TO-DATE :fxpackager:assemble 0s Did No Work :fxpackager:buildVersionFile 0s UP-TO-DATE :fxpackager:jar 0s SKIPPED :fxpackager:processAntpluginResources 0s UP-TO-DATE :fxml 0.555s (total) :fxml:buildModuleMac 0.550s :fxml:compileJava 0.004s UP-TO-DATE :fxml:processResources 0.001s UP-TO-DATE :fxml:assemble 0s UP-TO-DATE :fxml:classes 0s UP-TO-DATE :fxml:jar 0s SKIPPED :swing 0.245s (total) :swing:buildModuleMac 0.240s :swing:compileJava 0.004s UP-TO-DATE :swing:processResources 0.001s UP-TO-DATE :swing:assemble 0s UP-TO-DATE :swing:classes 0s UP-TO-DATE :swing:jar 0s SKIPPED :fxpackagerservices 0.028s (total) :fxpackagerservices:buildModuleMac 0.026s :fxpackagerservices:assemble 0.001s UP-TO-DATE :fxpackagerservices:compileJava 0.001s UP-TO-DATE :fxpackagerservices:classes 0s UP-TO-DATE :fxpackagerservices:jar 0s SKIPPED :fxpackagerservices:processResources 0s UP-TO-DATE :jmx 0.010s (total) :jmx:jar 0.004s UP-TO-DATE :jmx:processResources 0.004s UP-TO-DATE :jmx:compileJava 0.002s UP-TO-DATE :jmx:assemble 0s UP-TO-DATE :jmx:classes 0s UP-TO-DATE :swt 0.006s (total) :swt:compileJava 0.004s UP-TO-DATE :swt:classes 0.001s :swt:jar 0.001s UP-TO-DATE :swt:assemble 0s UP-TO-DATE :swt:processResources 0s UP-TO-DATE :systemTests 0.001s (total) :systemTests:jar 0.001s UP-TO-DATE :systemTests:assemble 0s UP-TO-DATE :systemTests:classes 0s UP-TO-DATE :systemTests:compileJava 0s UP-TO-DATE :systemTests:processResources 0s UP-TO-DATE :apps 0s (total) Generated by Gradle 3.2.1 at Jan 4, 2017, 5:50:27 PM
04-01-2017