[haiku-bugs] Re: [Haiku] #14675: [HaikuDepot] switching between Featured and All packages tabs is slow

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 16 Apr 2020 01:01:23 -0000

#14675: [HaikuDepot] switching between Featured and All packages tabs is slow
---------------------------------------+----------------------------
   Reporter:  diver                    |      Owner:  apl-haiku
       Type:  bug                      |     Status:  assigned
   Priority:  normal                   |  Milestone:  R1/beta2
  Component:  Applications/HaikuDepot  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------
Comment (by waddlesplash):

I have investigated this. It seems that there were a couple of areas
 that could be improved and I was able to get some code clean-up done, but
 the majority of the computational time taken is in the re-layout of the
 views of the "prominent" and "all" package lists.

 I wonder why switching to a tab view made this so much slower vs. the card
 view, then. I guess the tab view invalidates the child's layout on each
 tab switch; can we avoid that? That will help restore performance.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14675#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: