What is your use case that you see UI lag between vscode and sublime? Honestly, I feel zero difference between sublime/vscode/vi. Vscode arguably takes longer to boot up, but that only happens like once a day so it's not a big deal.

I think this is a lot of "I don't like Typescript/Javascript for serious things" or "Electron sucks" posturing rather than an actual tangible difference.

> What is your use case that you see UI lag between vscode and sublime? … I think this is … posturing …

Typing with pleasure: https://pavelfatin.com/typing-with-pleasure/

Study the graphs. Ready the copy.

If you don't feel these differences every keystroke, count yourself lucky to have slower perception or typing, rather than accusing folks of posturing.

Your brain processes (visual) information at a resolution of >= 80ms[1]. The idea that you can tell the difference between 10ms or 50ms latency when typing is simply untrue (both events will appear instantaneous). I say this as someone that has played Counter-Strike professionally and have a sub-200ms reaction time. (Auditory perception is processed at a higher resolution, but the article is decidedly not about that.)

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC9851611/

I almost noted on that as I've harped on sub-200ms for web responsiveness since the 90s.

However, reacting to something you see is a diff thing than sensing intra key-to-char lag in flow.

In CS, responding to what's on screen is diff from button press to seeing game action. High polling rate controls are going after that.

i cannot tell exactly but it kinda bothers me while working/typing

it is not like a huge latency, definitely not like ssh-connection.

to explain better, i usually have pre-defined set of keystrokes i input, so it's not the issue of latency of a single keystroke, rather compounding effect.

another thing is, most of the LSPs, highlighting etc are visibly slower on vscode. I am also having many plugins/extensions so that is partly to blame.

in the recent versions of vscode, they started supporting tree-sitter, which is quite nice in terms of performance.