Bug 432972 - Selection performance regression
Summary: Selection performance regression
Status: ASSIGNED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-15 14:48 UTC by Martin Sandsmark
Modified: 2021-06-07 16:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Sandsmark 2021-02-15 14:48:13 UTC
Not sure when this changed, but felt that dragging a selection felt a bit laggy with the latest master.

Checked out an old arbitrary revision, and current master feels like a 10x performance degradation (or at least one order of a magnitude), very visible when e. g. starting a selection and dragging upwards into the backlog.

Probably bisectable, so I'll try to find some time to do it unless someone knows what is going on.
Comment 1 tcanabrava 2021-02-15 14:50:01 UTC
two things on my mind

1 - the new visual selection behavior *could* do this
2 - the reflow code could potentially have done this too.
Comment 2 Martin Sandsmark 2021-02-15 15:04:07 UTC
Seems like there were some minor slowdowns from other stuff (probably the stuff you mention), but the thing that made it unusable, at least when scrolling, is 6667d96ed9d6c95eab4ed13449d4b134005ffb4b (was a quick bisect)
Comment 3 Martin Sandsmark 2021-02-15 15:06:08 UTC
The commit message for that seems bogus as well, 6667d96ed9d6c95eab4ed13449d4b134005ffb4b^ works just fine in normal vim (don't have neovim, though, but then it sounds like a neovim bug).
Comment 4 Bug Janitor Service 2021-06-07 15:28:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/404