Opened 5 years ago

Closed 4 years ago

#15889 closed bug (fixed)

[HaikuDepot] Featured packages selection became extremely slow (regression)

Reported by: diver Owned by: apl-haiku
Priority: normal Milestone: R1/beta2
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev54069 x86_64.

Selecting packages in Featured packages view is extremely slow. This is a recent regression.

Change History (5)

comment:1 by nielx, 5 years ago

@apl-haiku could you review? AGMS has also found that this is slow, and he noticed that the window thread and the app-server thread have a maxed out cpu during the initial sync

comment:2 by AGMS, 5 years ago

Not just the initial sync, when things are paused periodically. But after sync, it's busy doing something and the UI is very slow. Painfully slow. Switching to the All Packages tab brings back the speed. Maybe it's having trouble drawing big icons for Featured Packages? Or drawing something there that takes a while.

comment:3 by apl-haiku, 5 years ago

It looks like it is excessive re-layouts happening. Similar to #14675. I am moving house right now so time is limited, but I will see if I can take a look at the suggestions on this PR and possibly it may help here. It looks like the re-layout is happening because of;

...
BAbstractLayout::MinSize()
...
BView::MinSize()
BWindow::UpdateSizeLimits()
BWindow::Layout(..)

comment:4 by waddlesplash, 4 years ago

See what you think following hrev54192; at least for me selecting packages is now instantaneous.

comment:5 by diver, 4 years ago

Resolution: fixed
Status: newclosed

Thanks, it's instantaneous here too.

Note: See TracTickets for help on using tickets.