perf(preview): add LATDIAG latency bookends (v0.3.5-beta.1)
Ship-first diagnostic build so we can stop guessing at the preview +
download latency the user reports (20-30s everywhere, not just Artist
Profile). Adds timestamped LATDIAG tag bookends around:
PreviewUrlExtractor.extractStreamUrl— entry, InnerTube outcome,
yt-dlp outcome, total.TrackActionsDelegate.previewTrack— cache hit/miss, total time to
playUrl call.TrackActionsDelegate.downloadTrack— download executor time,
commitDownload time (so SAF-write overhead is separately visible).
Capture via adb logcat -s LATDIAG while tapping previews / downloads.
Each line includes videoId + duration so we can tell at a glance which
path is winning the race and where the seconds are going. Next beta
will target whichever phase is actually slow.
Install
Download the .apk below and open it on your Android device. If you've got a previous Stash release installed, this upgrades in place — your library, sync history, and settings are preserved.
Requires: Android 8.0 (API 26) or newer.
See the README for first-time setup.
Full Changelog: v0.3.4...v0.3.5-beta.1