View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019695 | MMA | Navigation | public | 2023-01-06 18:36 | 2024-06-27 16:02 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | reopened | ||
Product Version | 2.0.0 | ||||
Target Version | 2.0.2 | Fixed in Version | 2.0.0 | ||
Summary | 0019695: Navigation: Switching between screens is slow (performance regression) | ||||
Description | When switching between screen a black screen with 'loading...' often appears. I've never noticed this before, so I think it might be a performance regression in build 1059. Navigate from Home > Genres --> loading... flashes for a noticeable amount of time before 147 genres appear Navigate from Genres > Bluegrass --> loading... flashes for a fraction of a second before 4 Albums appear When I tested this on a slower device (a tablet), the issue was much more severe (Home > Genres took about 1.5s on the loading screen even though there are only a total of 43 tracks in the library). Note: build 1050 takes about 1s whereas build 1058 takes about 1.5s. (I didn't measure with build 1057/1058 on the tablet because MM crashed on that device on those builds). | ||||
Tags | No tags attached. | ||||
Fixed in build | 1060 | ||||
|
I can't replicate it on my devices. Also I don't know about a change that could lead to such problems. Is some operation in progress(hourglass visible)? Please save your logs and attach and I will test it with your database. On my devices more than 1k tracks and switching between screens has no loading. |
|
This issue isn't database-specific. It occurs on both the Pixel 5a (Android 13) and the Samsung SMT-320 tablet (Android11) that I'm testing with. The issue is far more noticeable on the slower device (SMT320 running Android 11). The issue seems to be worse when MMA is run after having been shut down. What's particularly interesting is that: - Switching from Tracks tab to Genres tab (or between most tabs) incurs no delay - Switching from Home to Genres tab (or going deeper into the hierarchy in any way) incurs the delay Here is a log from the Pixel 5a in which the issue occurs just by running MM (the loading screen appears before the home screen is rendered): QHSASYWGFD And here are logs from the SMT-320 in which the issue is replicated by switching from Home > Genres and then Genres > Alternative 5UBZ3EARWV |
|
Improved in build 2.0.0.1060. In MMA 2.0 was regression that did not use readOnly connection for view loading. This is fixed in build 2.0.0.1060 + additional improvements. However there can be some delay due to loading tabs and navigation for first time. Let me know how it works on your devices. In my opinion another improvements can be deferred to 2.0.1. |
|
There's a slight improvement in 1060, but it's still not as fast as MM 1.4. Deferring remaining work to 2.0.1. |
|
I've moved this back to 2.0 as there have been numerous user-complaints that 2.0 is slower than 1.4. I don't see any obvious regressions, but the most obvious item is that 'loading...' flashes briefly before views open. e.g. a) Navigate from Home > Genres --> loading... flashes briefly before Genres appear b) Tap any top-level node from the menu bar (e.g. 'Music') --> loading... flashes briefly before the node opens c) Navigate from Genres > Bluegrass --> loading... flashes for a fraction of a second before 4 Albums appear |
|
Resolving for retesting. |