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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 26 Apr 2020 23:33:37 -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:
  Platform:  All                      |
--------------------------------------+----------------------------
Comment (by apl-haiku):

 It seems that (by manual sampling) most of the time seems to be consumed
 here;

 {{{
 ...
 BFont::GetStringWidths(..)
 BFont::StringWidth(..)
 BTitledColumn::GetPreferredWidth(BField* .., BView* ..)
 PackageColumn::GetPreferredWidth(BField* .., BView* ..)
 BPrivate::OutlineView::GetColumnPreferredWidth(BColumn* ..)
 BColumnListView::PreferredSize()
 BViewLayoutItem::PreferredSize()
 ...
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14675#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: