Skip to content

[Performance]: Forge prompt editing is extremely slow on Windows #2973

@Alexx999

Description

@Alexx999

Performance Issue Description

Using the prompt inside Forge, both typing and moving the caret around feels laggy and slow.

Issue Type

Slow response time

Steps to Reproduce

  1. Start forge
  2. Type anything or paste anything
  3. Move caret around - press left arrow and hold
  4. Observe

Expected Performance

It's comparable to any other tool, or, ideally, as fast as raw console

Actual Performance

It's much slower than raw console. Fairly hard to measure but scrolling through "Hello world" takes around 1.45s in forge and around 0.8s on raw console (and that even including a pause after the first char).

Performance Measurements

Project Size

No response

Environment Details

  • Forge 2.9.9
  • Win 11
  • Zsh via Msys2

Configuration

Profiling Data

Frequency

Always

Workarounds

No response

Additional Context

Spawns git.exe on every caret movement

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions