codefori / vscode-rpgle

RPGLE language tools for VS Code
MIT License
39 stars 20 forks source link

Outline slows down and heavily loads the processor on large files #235

Closed SpiderEkb closed 1 year ago

SpiderEkb commented 1 year ago

I noticed a not very pleasant moment in the work of Outline - if two fairly large RPGLE files (1500-2000 lines) are open and there is a need to switch between them often, outline constantly rescans the files, which leads to rather high CPU usage and lags in VSCode. VSCode version 1.69.2, RPGLE language tools version 0.12.0

worksofliam commented 1 year ago

On the contrary I don’t have many issues. The issue is that there are a variety of things that can slow it down:

Are you able to share more details of your source, your IBM i or your device?

Thank you!

worksofliam commented 1 year ago

Also, you should update VS Code version - 1.80 is out now and you’re many versions behind.

SpiderEkb commented 1 year ago

My apologies, I didn't specify right away. It is only about files on the local machine. There is no connection to the IBM i server, work only on the local computer (then commit to git and build to the server already from git)

SpiderEkb commented 1 year ago

At one time, I was forced to roll back from VSCode 1.7x because some processes periodically started there, leading to 99% CPU usage. The last version that didn't have this was 1.69.2

SpiderEkb commented 1 year ago

When working with one file or several small files (~500 lines of code), no problems are observed. Only when there are 2-3 large files and the need to constantly switch between them.

SpiderEkb commented 1 year ago

Updated VSCode and extensions, let's see what happens next