View Issue Details

IDProjectCategoryView StatusLast Update
0013387MMASynchronizationpublic2016-10-03 16:33
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAndroidOS-OS Version5
Product Version1.2.0 
Target Version1.3.0Fixed in Version1.3.0 
Summary0013387: Wifi Sync: delete performance is slow in 1.2.0
DescriptionIt seems that sync performance (in particular, deletion of tracks not on the sync list), is very slow in MM 1.2.0 builds on some Android 6 devices.

Test results:
Build 603 on an Tab 8.4/Android 4:
Sync of 50 tracks ~2m 10s.
Deletion of 50 tracks: 5s.

Builds 603, 605, 607 on an LG tab III 8.0/Android 6:
Sync of 50 files: ~2:46s
Deletion of 50 files: ~25s

On Samsung S7/Android 6:
Build 603, 605
Sync of 50 files: ~2m 40s
Deletion of 50 files: ~54s !

Build 607
Sync of 50 files: ~2m 41s
Deletion of 50 files: ~1m 23s !!!

Summary: Android 6 devices have slightly slower sync performance, and dramatically slower delete performance, with performance on the S7 in particular being significantly slower than on LG device, and even worse using build 607.
Steps To ReproduceNote: all of the above tests were performed by deleting all tracks from the device and then syncing the same 50 track playlist. Deletion was done by unchecking the playlist from the auto-sync list and then resyncing.
TagsNo tags attached.
Fixed in build650

Relationships

related to 0013246 closedmarek Rework the way how the path to file is stored to DB and preferences 

Activities

marek

2016-10-03 16:31

developer   ~0045809

The bottleneck was performance of obtaining scanned folders. These folders has to be obtained during deletion of file to avoid deletion of these folders.

The design was lazy and the folders was not processed in during sync.

Currently the processing of folders was reworked and everything is prepared to speed up obtaining scanned folders.

Fixed in build 650