Open ErykCh opened 6 days ago
Aider should work quickly in a repo with only 36 files. It is known to be a bit slow on large repos with hundreds of files or more.
I started running it from zsh shell and it seems to be a bit faster
simple test
/add and just type spacebar and how many seconds does it take for the cursor to move, for me it takes 3
/add and a random string of characters on the keyboard, it takes about 3 seconds to print something
which means that if I enter the wrong class name, I have to wait 3 seconds until I see result of backspace
I just made a change which improved this significantly.
The change is available in the main branch. You can get it by installing the latest version from github:
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git
If you have a chance to try it, let me know if it works better for you.
Yes, it works much better. Thank you very much for fixing it. Now there is about a 3 second delay but only the first time you use /add. So what could be improved is to load all the information asynchronously after startup to make the first use of /add faster.
But not to be too beautiful :-( I again encountered the same problem described below.
Previously I thought it might have something to do with my environment. But apparently it's on Aider's side. It can loop endlessly.
I don't have a deterministic description of how to trigger this. I just write the correct version of the class and then after typing when it stops finding matching ones, than I click backspace and want to write the next characters again and then Aider gets stuck. It gets into an infinite loop. Ctrl+C breaks this loop and you can continue typing.
Here it stucked on Cha and after selecting Ctrl+C it added the Cha file to the main directory.
This stuck also happened to me several times on earlier versions. Now I have the version: v0.42.1-dev
Please let me know if you are able to describe how to reproduce the problem you're describing.
Issue
The /add method works very slowly for me, listing and filtering work very slowly.
I work on a computer with a fast processor and I have 64 gigs of RAM and an SSD drive. So I guess the problem is in the shell?
Version and model info
Aider v0.40.7-dev Models: openrouter/anthropic/claude-3.5-sonnet with diff edit format, weak model openrouter/anthropic/claude-3-haiku Git repo: .git with 36 files Repo-map: using 2028 tokens