Paolo, Could you add two additional trials to your dataset? (1) Groovy 2.5.9 and (2) Groovy 3.0.0 with -Dgroovy.antlr4=false (disable Parrot Parser).
This way, we could tell if recent changes that also went into 2.5.9 are an issue or if the slowness is directly related to the new antlr4 parsing. From: Paolo Di Tommaso <paolo.ditomm...@gmail.com> Sent: Friday, January 17, 2020 3:34 AM To: dev@groovy.apache.org Cc: d...@groovy.incubator.apache.org Subject: Re: Groovy 3 very slow stub generation Hi Daniel, Groovy 2.5.8: https://gradle.com/s/eqjp6767u5n2o<https://urldefense.proofpoint.com/v2/url?u=https-3A__gradle.com_s_eqjp6767u5n2o&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=gq6qBupXkC4QvMHLtJJlEGta46nuKnBuBDwxPUwdOaM&s=EtY2rtAPsY7SNfOGfxKko4x51Lo0QivVy8_d6ORv7xQ&e=> Groovy 3.0.0: https://gradle.com/s/orr64x7ilfwpu<https://urldefense.proofpoint.com/v2/url?u=https-3A__gradle.com_s_orr64x7ilfwpu&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=gq6qBupXkC4QvMHLtJJlEGta46nuKnBuBDwxPUwdOaM&s=vtPgU7u1oqpElSjaBgXYHpwUdrvtVDmzhHJZ6qEhqB0&e=> Regarding the slow IntelliJ build, sure I'll report to them however I saw clearly it stuck on the Groovy stub generation, and it works fine with the prior version. Therefore it makes me think there's something wrong with the groovy compilation. Thanks, Paolo On Fri, Jan 17, 2020 at 7:59 AM Daniel.Sun <sun...@apache.org<mailto:sun...@apache.org>> wrote: Hi Paolo, > The gradle build with groovy 2.5.8 compiles in 34 seconds > The gradle build with groovy 3.0.0-rc-3 takes 1m 46s Could you share the build-scan reports? > The build with IntelliJ more than 5 minutes, which makes it unusable :( As for the performance issue of intellij IDEA, I suggest you to open a ticket in Jetbrains's bug tracker[1] ;-) Cheers, Daniel.Sun [1] https://youtrack.jetbrains.com/issues<https://urldefense.proofpoint.com/v2/url?u=https-3A__youtrack.jetbrains.com_issues&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=gq6qBupXkC4QvMHLtJJlEGta46nuKnBuBDwxPUwdOaM&s=3ON2htj9YPUChcoq9mUtIJbKpjK6GNtw9p0ckV9bXKo&e=> ----- Apache Groovy committer & PMC member Blog: http://blog.sunlan.me<https://urldefense.proofpoint.com/v2/url?u=http-3A__blog.sunlan.me&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=gq6qBupXkC4QvMHLtJJlEGta46nuKnBuBDwxPUwdOaM&s=_RkaYk4Sfta3AJg3dh5dtX2wBa6mu9OBCuWFebsmmHU&e=> Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__groovy.329449.n5.nabble.com_Groovy-2DDev-2Df372993.html&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=gq6qBupXkC4QvMHLtJJlEGta46nuKnBuBDwxPUwdOaM&s=NWevL6U3sc86ymaI1o9ecQVlDFK8nvd6SIo5CgQ1-Yc&e=>