zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.79k stars 3.06k forks source link

Moving the cursor does not feel fast: ≈2 frame/33ms delay (Linux, X11) #13203

Open AlexDaniel opened 4 months ago

AlexDaniel commented 4 months ago

Here's the description of what happens, frame by frame:

It seems that zed is not immediate enough (at least 2 frames/33ms slower than it could be). Personally, I can feel that difference when comparing to e.g. alacritty, and I think zed can do better, especially considering its goal to become the faster editor.

Just FYI, in some cases Zed responds on Frame 2, but never on Frame 1.

Here's the GIF with these 4 frames: zed-delay

Just in case, all 4 frames separately:

Environment

This laptop is relatively old (Thinkpad x230 from 2012 or so). It is possible that on newer systems the experience is different. I can probably test the same in other editors, if you're interested, but I think that stock emacs is immediate (though I haven't measured yet, going by feel).