vala-language-server icon indicating copy to clipboard operation
vala-language-server copied to clipboard

The speed of response is too slow in my project

Open taozuhong opened this issue 2 years ago • 3 comments

Describe the bug The response speed of auto-completion is too slow in my project

Software OS and version: Windows 10 + MSYS2 Code editor: VSCode 1.62 Vala Language Server: 0.48.3(latest version) Vala version (valac --version): 0.54.2

the vala-language-server is stable and allocated 800M+ memory size, the auto-completion list will be shown, but delay 5-10 seconds.

taozuhong avatar Nov 06 '21 08:11 taozuhong

Related: #114 #59

Prince781 avatar Nov 06 '21 17:11 Prince781

@taozuhong You can check out wip/multithreading and see how it improves responsiveness. Keep in mind this is a work in progress and I'm aware memory consumption is much too high. I'm still iterating on a solution. See my comments in PR #233.

Prince781 avatar Jan 14 '22 18:01 Prince781

I have tried it, the speed of response becomes quickly than the old versions, now it feels more comfortable, thanks for your great work.

up to 1-second delay, while inputting the topmost namespace like GTK / GLib, I thank it can be made more quickly.

taozuhong avatar Jan 15 '22 05:01 taozuhong