warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.3k stars 371 forks source link

Very slow warp on autocomplete and suggestions #3571

Open lclpedro opened 1 year ago

lclpedro commented 1 year ago

Discord username (optional)

No response

Describe the bug

I have a macbook intel i7 and a macbook M1 and the performance on the m1 is very high, but on the intel I don't see the same, and it's much lower, I've tried disabling some features and it doesn't solve it, a common example is when a command is performed from git

git add ... it takes a long time to identify the project files, and commands

git push origin it takes a long time to identify origin branches or even load the current branch name..

I tried an alternative that would be to use the zinit autocomplete but the warp blocks and lets them be recognized by the external libs.

To reproduce

git add ... wait it takes a long time to identify the project files, and commands

git push origin: wait it takes a long time to identify origin branches or even load the current branch name..

Expected behavior

As in the M1, I would like it to have the same performance in automatic suggestions and in automatic completions, performance, with the use of intel i7 warp loses a lot of performance, things that are not seen in terminal.app and iterm.app

Screenshots

No response

Operating system

MacOS

Operating system and version

13.5.1 (22G90)

Shell Version

zsh 5.9 (x86_64-apple-darwin22.0)

Current Warp version

v0.2023.08.15.08.03.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

Never

Additional context

Even answering the question below, I really like warp, the m1 works perfectly, but intel is the notebook that I spend most of my time working on because it is the company's computer, it does not have the expected performance and therefore I am having to use it the iterm.app, I wouldn't like it, but it's how I'm getting performance..

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

warpdotdev-devx[bot] commented 1 year ago

Hi @lclpedro Sorry to hear about this. Afaik, since Warp makes use of the GPU to improve performance that may be part of the reason for the i7 Mac not working as quickly. I recommend you check the ~/.zshrc files on the i7 and compare them to the M1 as there may be some plugins/tools in the former that could be affecting performance as well. We have a list of incompatible tools here: https://docs.warp.dev/help/known-issues#list-of-incompatible-tools

If you find any culprits on your i7 .zshrc file, you can disable those parts of your dotfiles just for Warp by using this conditional statement:

# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
fi
vorporeal commented 1 year ago

@lclpedro Thanks for letting us know! Can you share exactly which model of Intel Macbook you have?

Additionally, is this only for git-related completions or does it apply to completions for other commands?

lclpedro commented 1 year ago

@vorporeal its apply for others commands too..

My macbook version is: MacBook Pro (16 polegadas, 2019)