High CPU Usage in VS Code "window" process after installing Codex extension

Resolved 💬 2 comments Opened Apr 15, 2026 by DanielTseng2004 Closed Apr 15, 2026

What version of the IDE extension are you using?

26.409.20454

What subscription do you have?

free

Which IDE are you using?

vs code

What platform is your computer?

windows 11 25H2

What issue are you seeing?

<img width="1032" height="561" alt="Image" src="https://github.com/user-attachments/assets/4f8e6a6a-8b8e-43ab-9fba-4e12be5d45a2" />

Observed High CPU Usage in VS Code "window" process

After installing and enabling the extension, the VS Code "window" (main renderer) process exhibits high CPU usage (10%–15% even when idle). This leads to noticeable UI lag and editor latency during development.

Key Evidence:

  • The issue disappears immediately when the extension is disabled.
  • The "window" process is the primary consumer in VS Code Process Explorer.

What steps can reproduce the bug?

  1. Install the extension in VS Code.
  2. Open a project (e.g., a Vue/Vite project or any folder with several source files).
  3. Ensure ChatGPT: Comment Code Lens Enabled is toggled ON in the extension settings.
  4. Open the VS Code Process Explorer (Help > Open Process Explorer).
  5. Observe the CPU usage of the "window" process.
  6. Toggle the CodeLens setting or the extension itself to see the CPU usage drop/spike.

Example Code Snippet (Triggering CodeLens):
// Any file containing TODO comments, for example:
// TODO: Implement a new feature here.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗