projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.9k stars 2.39k forks source link

[BUG] the lombok version 1.18.24 make gradle compileJava very slow #3379

Open mvhwyy opened 1 year ago

mvhwyy commented 1 year ago

the lombok version from 1.18.18 to 1.18.24,we found gradle compileJava very slow 1.18.24: image

1.18.18: image only the lombok version changed

Rawi01 commented 1 year ago

Is there any chance that you can share that project or reporduce it with a smaller sample project? If not it would help us if you can figure out the version that introduced that huge performance degradation by trying the versions you skipped. If you have some more time you can take this even further and try to find the commit using git bisect.

mvhwyy commented 1 year ago

we found the version 1.18.24 make gradle slow incloud(1.18.24/1.18.26) 1.18.18、1.18.20、1.18.22 is ok and gradle the version is 7.4.2 the jdk the version is JDK11

mvhwyy commented 1 year ago

gradle build log file 397747 (1).log

Rawi01 commented 1 year ago

Can you also try the edge version? I checked the diff and 1.18.24 introduced a performance problem that was recently fixed. The impact should not be that big but maybe there is a something different in your codebase.

mvhwyy commented 1 year ago

you say 1.18.24 introduced a performance problem that was recently fixed . and Which version is the fixed I think I can try it with the fixed version

Rawi01 commented 1 year ago

The issue I mentioned is fixed in the edge version but I don't think that this is the cause of this slow down.

If that does not fix the problem some profiling/sampling data would be really helpful.