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
20.23k stars 335 forks source link

history search is very slow #4360

Open blushingpenguin opened 4 months ago

blushingpenguin commented 4 months ago

Discord username (optional)

No response

Describe the bug

using ubuntu 22.04 with fish Press CTRL+R, start typing, several seconds later results appear. Using konsole, results appear with no perceptible delay.

To reproduce

open console press CTRL+R type something

Expected behavior

reverse search results should appear with no perceptible delay. The long delay in such a commonly used feature makes warp unusable for me. I'm happy to collect any further data if you are interested in diagnosing this.

Screenshots

No response

Operating system

Linux

Operating system and version

ubuntu 22.04

Shell Version

fish 3.7.0

Current Warp version

v0.2024.02.20.08.01.stable_02

Regression

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

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

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:b9d78064-c89e-4973-b153-5178a31ee54e

None

mhagnumdw commented 3 months ago

I also think it's slow, but it doesn't take seconds. Maybe 1 second, which I already find boring. In my Tilix terminal, ctrl r with fzf is very instantaneous, both to open and to find the result.

I have 66221 entries in my zsh history.

oschonrock commented 2 months ago

same here..

started happening about 6 weeks ago

ubuntu 22.04

oschonrock commented 2 months ago

could be this

https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2059847

gjermundgaraba commented 1 month ago

This started happening for me lately as well. I am on Mac (M2). For me I believe it started happening after I did some extremely long commands (copy pasted some insane base64 strings which took forever to just paste) that are now in my history.

I believe it has been sorted by deleting those entries manually from the history file.

tspecht commented 2 weeks ago

Same here - think this a context window thing where if there is a lot to search it just eventually gets slow - restarting helps. iTerm has a setting where you can limit the historical context you keep that helps with this - anything similar available for Warp?