Android App start-up HUGE improvement#2194
Android App start-up HUGE improvement#2194uzzyDC wants to merge 2 commits intofloccusaddon:developfrom
Conversation
… time from 10 seconds to 0.1 seconds with 5k bookmarks and sd 8gen2. Hash is not required prior loading tree view, but only prior remote sync to check for differences.
|
I think I introduced an issue with andoid app sync, I'm checking Native/Action.js to fix it. |
…n: skipHash: boolean = false
|
I've tried to achieve the same thing with fewer changes, but didn't have time to test if this actually works: #2195 |
|
The fact is that NativeTree.load() Hash calc should be ignored only for app startup calls, when the tree view is loaded. The following calls behaviour should remain the same, reason why I introduced a skipHash parameter, which should have default value false (last commit on my branch). NativeTree.load() is invoked in actions.js and NativeAccount.get(). |
#2170 Removed hash calculation during android native app start up. Hash is not required prior loading tree view, but only prior remote sync to check for differences.
Start up time from 10-15 seconds to 0.1 seconds with 5k bookmarks and sd 8gen2.