View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019695||MMA||Navigation||public||2023-01-06 18:36||2023-01-10 22:26|
|Target Version||2.0.1||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):
And here are logs from the SMT-320 in which the issue is replicated by switching from Home > Genres and then Genres > Alternative
Improved in build 220.127.116.110.
In MMA 2.0 was regression that did not use readOnly connection for view loading.
This is fixed in build 18.104.22.1680 + 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.