File: android-deltas-sync/_etc/examples/large-shared-storage/runs/2-initial-copy-phone.txt
#-------------------------------------------------------------------- # Caveat: it's unclear if the Termux wakelock was held for this # run, but the unzip-to-phone time agrees with an earlier test # that came in at 67 minutes. The 72 minutes here is 3.4x slower # than app-specific's 21 minutes (see ../), which also jives with # the earlier test's 3.7x. # # This is better than an observed 50x slower for deletes, and # ~100x-slower modtime comparison phases, but still quite slow. # Initial copy here is also a one-time task; later syncs are much # faster. File-explorer copy time is not shown separately, and # accounts for most of the rest of elapsed time at the end. # # Update: phone wakelock acquire/release is now automatic in the # Termux widget shims added later; see _etc/termux-widget-shims. # # Update: it's also unclear if the wakelock is supported by all # phones, especially the Samsung test device. Search for "wakelock" # in the top-level _README.html for info and links, or try search: # https://duckduckgo.com/?q=android+dont+kill+my+app+wakelock #-------------------------------------------------------------------- $ ls /sdcard/MY-STUFF ls: cannot access '/sdcard/MY-STUFF': No such file or directory $ $ A=/sdcard/Download/fold3-vs-deltas/android-deltas-sync/ $ cd $A $ $ python3 initial-copy-part2-phone.py Android Deltas Sync 1.0 Copying: from /sdcard/Android/data/com.termux/MY-STUFF.zip to /sdcard/MY-STUFF logs /sdcard/Download/deltas-logs Manually copy or move MY-STUFF.zip from the root of the USB drive to /sdcard/Android/data/com.termux using any Android file-explorer app with suitable storage permissions. Press enter/return here when the copy is finished... START: Unzipping content on phone Press enter/return to continue Runtime: 72m, 26.701s Zip extract summary: Extract finished: files=173467, folders=17051, symlinks=0, unknowns=0. Removing content zip from phone (remove manually from proxy as needed) Runtime: 0m, 17.028s Running postcopy hooks Finished - total elapsed time (h:m:s) = 1:26:33 See logs in "/sdcard/Download/deltas-logs". $