Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Screen load laggines #1053

Merged
merged 10 commits into from
Mar 19, 2024
Merged

Home Screen load laggines #1053

merged 10 commits into from
Mar 19, 2024

Conversation

GhenadieVP
Copy link
Contributor

@GhenadieVP GhenadieVP commented Mar 19, 2024

Description

Reduce the slowness of loading the home screen.

After introducing fiatWorth on home screen, there are many more events which do trigger the updated of the state.
TCA seems to have issues when many actions are emitted in quick-ish succession, it has high impact on the main thread since all of the actions are resolved on the main thread.

There is still a small lag with this, potentially SharedState would help resolve this.

Loading Before

RPReplay_Final1710851174.MP4

Loading After

RPReplay_Final1710851060.MP4

#CPU load before
Screenshot 2024-03-19 at 14 27 08

CPU load after

Screenshot 2024-03-19 at 14 28 17

@GhenadieVP GhenadieVP changed the title Fiat value load slow Home Screen load laggines Mar 19, 2024
Copy link
Contributor

@CyonAlexRDX CyonAlexRDX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! Day and night! Looks
Smooth!

@GhenadieVP GhenadieVP merged commit 789d213 into main Mar 19, 2024
6 checks passed
@GhenadieVP GhenadieVP deleted the fiat_value_load_slow branch March 19, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants