Hi, 

I have seen an older thread with slow JOOQ compile time as of v3.8.x 
(https://groups.google.com/forum/#!topic/jooq-user/vuaG9d9krDk).  It seems 
like that specific issue is now closed.

There were about 3500 .java files generated from codegen.  When I run 
gradle build on that javaCompile is taking about 5 minutes (running without 
--profile option takes about same time).

>gradle build --profile --parallel 

Task Duration Result
: 6m6.05s (total)
:compileJava 4m48.67s 
:bootJar 36.223s 
:test 35.138s 
:compileTestJava 5.703s 
:processResources 0.302s UP-TO-DATE
:processTestResources 0.016s NO-SOURCE
:classes 0.001s Did No Work
:assemble 0s Did No Work
:build 0s Did No Work
:check 0s Did No Work
:jar 0s SKIPPED
:testClasses 0s Did No Work


As additional optimizations I ran gradle with --parallel and increased the 
memory in gradle.properties to 
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m 
-XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

Any other suggestions?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to