View Issue Details

IDProjectCategoryView StatusLast Update
0019351MMW 5Generalpublic2022-09-09 21:55
Reporterdrakinite Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version5.0.4 
Target Version5.0.4Fixed in Version5.0.4 
Summary0019351: Performance optimization: Reduce time it takes to open very large albums in Album Grid
DescriptionI finally found a way to reduce the major stutter from opening very large albums in Album Grid. It involves simplifying the HTML for each item, and reusing the same HTML elements for the Play & Menu buttons. Since only one track at a time has their buttons visible, we can reuse the same elements and simply move them to the appropriate div.

This brings the *first* open time for an album with 623 tracks from ~2.6 seconds to ~1.25 seconds. Several hundred milliseconds of this are taken up by Templates.bookmarkFunc. We may wish to look into something similar for that next -- perhaps only appending the select boxes to the div *if* touch mode is already enabled.
TagsNo tags attached.
Fixed in build2662

Activities

drakinite

2022-09-04 22:44

developer   ~0069162

Implemented in build 2662

peke

2022-09-09 21:55

developer   ~0069201

Verified 2662

All working for me, no regressions found.