VSCodeVim / VSCodeVim/Vim

Inserting text makes VS Code unusably slow

Open
#4,728 7 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/performance
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
Inserting text makes VS Code unusably slow

To Reproduce
Steps to reproduce the behavior:

  1. Press i to enter insert mode
  2. Press two keys
  3. Notice that only the first key is inserted and the second key is inserted a few seconds later
  4. Also notice that the CPU usage increases to 100%

Expected behavior
I would expect keys to be inserted with unperceivable delay.

Screenshots
Hopefully this screenshot might help.
Performance issue

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.13.1
  • VSCode version: 1.44.0
  • OS: macOS 10.15.4

Let me know if there's any other logs I might be able to provide to help isolate the issue. I do very much like Vim, but it become unusable after this.

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 reproducing the delay with VSCodeVim 1.13.1 on VS Code 1.44.0 and macOS 10.15.4, following the two-key insertion steps. Use the attached performance screenshot as the available diagnostic context; done means consecutive insert-mode keystrokes are inserted without a perceptible delay or CPU usage spike.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.