[haiku-bugs] Re: [Haiku] #11198: [HaikuDepot] selecting packages became much slower

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Fri, 05 Sep 2014 10:08:27 -0000

#11198: [HaikuDepot] selecting packages became much slower
---------------------------------------+----------------------------
   Reporter:  diver                    |      Owner:  stippi
       Type:  bug                      |     Status:  closed
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/HaikuDepot  |    Version:  R1/Development
 Resolution:  fixed                    |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by stippi):

 The initial list is retrieved from the Package Kit, where it is cached
 AFAIK. I have not yet taken any performance measurements, where in the
 code it takes longer than expected. 2 seconds for 500 items sounds a bit
 long to mee, too.

 In any case, I don't think the list is very useful as the first thing that
 !HaikuDepot shows, especially not with 5000 entries. My idea was to show a
 selection of software that the user might be interested in. This is
 already implemented in the web app since a couple of days, with a
 "prominence" property that can be set by administrators for each package.
 This is orthogonal to the average user rating as a means to currate
 software. When a user starts !HaikuDepot she would be greated by the
 "recommended apps" view, which would be based on the "prominence" setting,
 the user ratings, and it wouldn't show what is already installed. Of
 course, later the system could even tweak the featured apps based on user
 preferrence (how many other packages are installed from each category).

 The featured apps view would only show a few packages, and probably
 organized as a grid. And it should of course be cached for fast startup.
 When the user searches, or switches categories, the view could switch to
 the list that is shown now. What do you think?

--
Ticket URL: <https://dev.haiku-os.org/ticket/11198#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: