Skip to content

input lag when typing - 5+ second delay #2395

@0b11111110

Description

@0b11111110

What happened?

Bug Report: Severe Input Lag in Chat Window

Extension Information

  • Extension ID: qwenlm.qwen-code-vscode-ide-companion
  • Extension Name: Qwen Code Companion
  • Version: v0.12.3
  • VS Code Version: 1.111.0
  • OS: Windows 11
  • Python: 3.12

Issue Summary

Title: Severe input lag when typing - 5+ second delay

Severity: 🔴 Critical - Makes extension unusable


Description

When typing in the Qwen Code Companion chat window, there is extreme input lag (5+ seconds delay) between pressing keys and text appearing on screen.

The lag is so severe that:

  • I have to mentally track what I've already typed vs what hasn't appeared yet
  • Long messages become extremely difficult to compose
  • The extension becomes practically unusable for conversation

Reproduction Steps

  1. Open VS Code
  2. Open Qwen Code Companion chat panel
  3. Start typing a message (especially noticeable with messages >50 characters)
  4. Observe 5+ second delay between typing and text appearing

Actual Behavior

  • Text appears with 5+ second delay after typing
  • Have to mentally track what I've typed vs what's displayed
  • Lag worsens with longer messages
  • Makes conversation extremely difficult and frustrating

Additional Context

  • ✅ Chat functionality works correctly otherwise
  • ✅ AI responses display correctly
  • ❌ Only INPUT is laggy, not output
  • Project context: Large Python project with extensive conversation history
  • Lag may be related to:
    • Real-time context synchronization with file system?
    • Large conversation history being processed on every keystroke?
    • Syntax highlighting in input field?
    • Auto-complete suggestions processing?
    • Memory leak in input handler?

System Resources During Lag

  • CPU Usage: < 30%
  • Memory Usage: 86%
  • VS Code Memory in Taskmgr.exe: 3 900 MB

Workarounds

  1. Typing in external editor (Notepad) and pasting works fine
  2. Other functions in VS Code work fine
  3. Restarting VS Code temporarily NOT helps

Logs & Diagnostics

Console Has No Errors

Image

Extension Logs

VS Code → Output → "Qwen Code Companion"
empty

Project Size

# PowerShell (Windows):
dir /s /b *.py | find /c /v ""
# My project: 3429 Python files  (including .venv)

Impact

This bug makes the extension practically unusable for:

  • Extended conversations
  • Code review discussions
  • Debugging sessions
  • Any workflow requiring typed input

Priority

🔴 Critical - Core functionality broken

What did you expect to happen?

Expected Behavior

  • Text should appear immediately as I type (<100ms delay)
  • Responsive, smooth input experience
  • No noticeable lag regardless of message length

Client information

Qwen Code: 0.12.3 (f1ee463)
Среда выполнения: Node.js v22.22.0 / npm unknown
ОС: win32 x64 (10.0.26200)
Аутентификация: Qwen OAuth
Модель: coder-model
ID сессии: 72af2476-5360-480f-869b-6577b7848dd8
Песочница: no sandbox
Прокси: no proxy
Использование памяти: 279.4 MB

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

priority/P1High priority issuetype/bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions