Faster app startup and resume #515

Closed
opened 2019-04-15 19:41:27 +02:00 by akinwale · 4 comments
akinwale commented 2019-04-15 19:41:27 +02:00 (Migrated from github.com)

After some experimentation with the app startup process last week, I was able to identify a couple of bottlenecks which could possibly be resolved with updates to the sdk.

  • At the moment, the sdk resolve call is rather slow. This is currently being worked on, and there is a PR open for tracking this: https://github.com/lbryio/lbry/pull/2008. This should result in better performance and faster resolves which should enable the app startup faster (especially after first run).

  • The sdk needs to be able to allow resolve to be called upon startup instead of having to wait for other components to be ready. An issue to track this was created. https://github.com/lbryio/lbry/issues/2029

After some experimentation with the app startup process last week, I was able to identify a couple of bottlenecks which could possibly be resolved with updates to the sdk. * At the moment, the sdk `resolve` call is rather slow. This is currently being worked on, and there is a PR open for tracking this: https://github.com/lbryio/lbry/pull/2008. This should result in better performance and faster resolves which should enable the app startup faster (especially after first run). * The sdk needs to be able to allow `resolve` to be called upon startup instead of having to wait for other components to be ready. An issue to track this was created. https://github.com/lbryio/lbry/issues/2029
kauffj commented 2019-08-19 20:07:00 +02:00 (Migrated from github.com)

Also bundle the headers

Also bundle the headers
kauffj commented 2019-10-07 20:37:26 +02:00 (Migrated from github.com)

Also see #471

Also see #471
kauffj commented 2020-01-20 20:58:40 +01:00 (Migrated from github.com)

Next steps:

  • Defer all requests (and possibly more rendering?) on file/show until video plays
  • Reduce re-renders on file/show page
Next steps: - [ ] Defer all requests (and possibly more rendering?) on file/show until video plays - [x] Reduce re-renders on file/show page
akinwale commented 2020-03-20 14:29:01 +01:00 (Migrated from github.com)
Closing this for https://github.com/lbryio/lbry-react-native/pull/129 and https://github.com/lbryio/lbry-react-native/pull/132.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#515
No description provided.