Skip to content

performance issue and possible design problem #4661

@urbandroid

Description

@urbandroid

Issue

Right now when i add tests directory to context. CPU usage single threaded goes to %100 and i can't type in chat every stroke responds minutes after because ui thread and backend thread are only one thread and indexing takes %100 cpu

what needs to be done:

1.seperate ui thread from backend thread that way even if indexing takes %100 cpu user can write and erase in chat.
2. find out what is causing that much of cpu usage possibly indexing which is weird for 500mb memory usage and fix it or limit usage that way backend thread wont use %100 cpu everytime ui gets a refresh.

Version and model info

aider 0.86.1
openai/deepseek-ai/DeepSeek-V3.2-Exp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions