View Issue Details

IDProjectCategoryView StatusLast Update
0019695MMANavigationpublic2023-01-10 22:26
Reporterrusty Assigned To 
Status feedbackResolutionreopened 
Product Version2.0.0 
Target Version2.0.1Fixed in Version2.0.0 
Summary0019695: Navigation: Switching between screens is slow (performance regression)
DescriptionWhen 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).
TagsNo tags attached.
Fixed in build1060



2023-01-07 02:13

developer   ~0070845

Last edited: 2023-01-07 02:16

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.


2023-01-09 02:59

administrator   ~0070857

Last edited: 2023-01-09 03:43

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):

And here are logs from the SMT-320 in which the issue is replicated by switching from Home > Genres and then Genres > Alternative


2023-01-10 15:58

developer   ~0070882

Improved in build
In MMA 2.0 was regression that did not use readOnly connection for view loading.
This is fixed in build + 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.


2023-01-10 22:26

administrator   ~0070890

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.