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!

1
8 comments

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.

0
Avatar
Permanently deleted user

Hi Andrey,

I have upload cpu profile while autocompletion to uploads.services.jetbrains.com, the filename is :

IU-182.4323.46_weiwang_30.11.2018_10.32.49.zip

and idea log:

logs-20181130-103544.zip
0
Avatar
Permanently deleted user

Besides I have increased -Xmx to 4096m but seems not good as I expect(similar to performance of java)

0
Avatar
Permanently deleted user

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

0

Could you please collect new CPU snapshot. It will be very helpful to get it for the last version. Thank you in advance.

0
Avatar
Permanently deleted user

Hi Andrey,

New CPU snapshot has been uploaded to uploads.services.jetbrains.com, named:

IU-183.4588.27_weiwang_03.12.2018_12.38.44.zip

and I also collected logs:

logs-20181203-124131.zip

Thanks

0

Thank you. Attached it to YouTrack issue at https://youtrack.jetbrains.com/issue/IDEA-203313 (with restricted visibility).

0

Please sign in to leave a comment.