Bad performance for autocompletion in Groovy
Answered
Hi,
This is my OS and hardware info:

And I use Java, Groovy in same project, the project is open sourced: https://github.com/zstackio/zstack

When I type any function name in Java, it's pretty fast:

But in groovy, it's pretty slow:

Any ideas? I have tried change the vmoptions, but still not run as fast as I expect.
I have upload memory capture to uploads.services.jetbrains.com, the filename is
IU-182.4323.46_weiwang_29.11.2018_14.23.49.zip
Thanks a lot!
Please sign in to leave a comment.
Try if it makes it better to set bigger value for -Xmx jvm option (Help | Edit Custom VM Options) action as I see the project is quite big.
If performance issue remains, could you please take CPU snapshot at the very moment of the issue and all IDE logs zipped. Thanks.
Hi Andrey,
I have upload cpu profile while autocompletion to uploads.services.jetbrains.com, the filename is :
and idea log:
Besides I have increased -Xmx to 4096m but seems not good as I expect(similar to performance of java)
Thank you. Please follow for further updates: https://youtrack.jetbrains.com/issue/IDEA-203313
Please also try 2018.3.1 RC2 version from https://confluence.jetbrains.com/display/IDEADEV/IDEA+2018.3+EAP
Hi Andrey,
I have tried 2018.3.1 RC2, it seems quicker a little bit, but still can not compare with Java, Thanks anyway :-D
Could you please collect new CPU snapshot. It will be very helpful to get it for the last version. Thank you in advance.
Hi Andrey,
New CPU snapshot has been uploaded to uploads.services.jetbrains.com, named:
and I also collected logs:
Thanks
Thank you. Attached it to YouTrack issue at https://youtrack.jetbrains.com/issue/IDEA-203313 (with restricted visibility).