Skip to content

Use faster implementation for merging#186

Merged
tgolen merged 16 commits intoExpensify:mainfrom
Szymon20000:@szymon/fastMerge
Oct 5, 2022
Merged

Use faster implementation for merging#186
tgolen merged 16 commits intoExpensify:mainfrom
Szymon20000:@szymon/fastMerge

Conversation

@Szymon20000
Copy link
Contributor

The whole problem is described here Expensify/App#11185

On Android merging takes a lot of time
I Initially thought that maybe it's caused by slow loads implementation but after looking more deeply into the problem it looks like require takes in lodash a lot of time. Have no idea how because it should be required only once and later not take time at all but it's not the case. Maybe some circular dependencies?

I used the latest react-native-onyx package .18 with recent fixes like getting rid of merging items of array one by one. But it seems to no solve the problem.

Screenshot 2022-09-28 at 10 54 26

Screenshot 2022-09-28 at 10 54 50

Screenshot 2022-09-28 at 10 57 39

Screenshot 2022-09-28 at 10 57 33

Details

Related Issues

GH_LINK

Automated Tests

Linked PRs

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants