Mobile/Profile Migration XUL Native
From MozillaWiki
< Mobile
Documents
- Fennec XUL to Native profile Migration testing: results
- [Profile Migration performance testing https://docs.google.com/spreadsheet/ccc?key=0Arku3jleCA0UdFlDMFZhYkFjSVdyWko5ZWUzMURZdEE#gid=0 results]
Bugs
Pretty big SQLite discoveries in bug 725914, and in followup bug 726793.
Steps
Careful not to sync your own sync account/password into this account! ie, if you already use sync, disconnect it and turn off passwords at the very least; better yet would be to create a new FFX profile and use this account with it.
- Delete any pre existing versions of fennec nightly
- Install XUL build (http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-xul/) "adb install fennec-13.0a1.multi.android-arm.apk"
- Sync with large profile ( https://intranet.mozilla.org/QA:Sync_test_account ) (or copy the profile)
- Quit
- logcat "adb logcat -v time > profile_nexus_galaxy_02_10_2012_take1.log" [ logcat -v time will show timestamps; profile_nexus_galaxy_02_10_2012_take1.log is just the name for the log I had to keep track of the logs ]
- install native build (http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android-r7/) "adb install -r fennec-13.0a1.en-US.native_02_10_2012"
- launch native
- once you see the about:home screen on fennec, you can kill the logcat (control-c) or kill the process
- more <logfile> |grep "Opening path"; record the time under Migration Start; milliseconds accuracy should be recorded in the second Migration Start column; not sure what changed in google docs, but it's not allowing for millisecond accuracy any more
- more <logfile> |grep "Profile migration finished"; record the time under "Migration Stop"
There's currently 1,856 bookmark items in the account.
Preferably we would want multiple runs on the same device so that we can take the average of the times.