Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pile: work around perf regression when moving to urwid from core24 #2161

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

ogayot
Copy link
Member

@ogayot ogayot commented Feb 17, 2025

urwid added support in Pile() objects for widgets with fixed sizing. However, this caused big performance issues for us. Going up and down in the the guided storage screen is > 30 times slower now.

Maybe there is something smart to do ; but in the meantime, let's "revert" the upstream urwid change in our own Pile() implementation.

LP:#2089681

urwid/urwid#733

@ogayot ogayot force-pushed the storage-urwid-perf branch from 3af4842 to 6e7ce13 Compare February 17, 2025 20:19
urwid added support in Pile() for widgets with fixed sizing. However, this
caused big performance issues for us. Going up and down in the guided storage
screen is > 30 times slower now.

Maybe there is something smart to do ; but in the meantime, let's "revert" the
upstream urwid change in our own Pile() implementation.

LP: #2089681

Signed-off-by: Olivier Gayot <[email protected]>
@ogayot ogayot force-pushed the storage-urwid-perf branch from 6e7ce13 to 9aeacf6 Compare February 17, 2025 20:21
@ogayot ogayot requested a review from dbungert February 18, 2025 08:26
@ogayot ogayot merged commit b57e031 into canonical:main Feb 18, 2025
10 checks passed
@ogayot ogayot deleted the storage-urwid-perf branch February 18, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants