Performance issues #585
Replies: 5 comments 20 replies
-
The first step is AVPlayer improvements, we didn't fix it completely, but extracting most of the player logic to a background thread and moving player setup from AVPlayer notes can be found here Btw player is not an environmental dependency, but a shared instance for the app, player states are stored in feed elements' states and FeedItemStore for each FeedItem is scoped to playerStore and set to the player on |
Beta Was this translation helpful? Give feedback.
-
Tomorrow I'll try to generate custom CasePaths for all of our Actions, and reply here if it fixes any issues or not. |
Beta Was this translation helpful? Give feedback.
-
Also, my colleague proposed to use a serial background scheduler for all of the application logic and only observe UI logic on the main thread (and also send actions on the same background scheduler) |
Beta Was this translation helpful? Give feedback.
-
From my experience the performance hits the fan with TCA whenever you send many actions through multiple layers of pullback reducers. I.e. calling |
Beta Was this translation helpful? Give feedback.
-
Btw we migrated to the original TCA this weak, so we'll be able to check performance tweaks branch soon 😎 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using RAS-TCA and I'm facing noticeable performance issues. The app has about 40 modules and a large number of actions, the state is pretty large too. Partially issues may not be connected with TCA itself, but some of them may relate.
I created the thread for discussing ideas on how to improve the performance and to keep the history of the performance improvement process reachable for myself and other developers.
The App
Issues
Possible reasons
Beta Was this translation helpful? Give feedback.
All reactions