LuaLS / LuaLS/lua-language-server

Extension causes high cpu load

Open
#1,771 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Info Needed
Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

- Issue Type: `Performance`
- Extension Name: `lua`
- Extension Version: `3.6.4`
- OS Version: `Windows_NT x64 10.0.19041`
- VS Code version: `1.70.0`

:warning: Make sure to **attach** this file from your *home*-directory:
:warning:`file:///c%3A/Users/MHD444/AppData/Local/Temp/sumneko.lua-unresponsive.cpuprofile.txt`

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking whether the requested CPU profile is available at c:/Users/MHD444/AppData/Local/Temp/sumneko.lua-unresponsive.cpuprofile.txt, then read the linked VS Code guidance on extension CPU investigations. Use the profile and the reported Lua extension version to identify the responsible language-server work; done means the high-CPU cause is isolated and a reproducible fix or clear follow-up is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.