Skip to content

Slow applySnapshot/fromSnapshot #342

Description

@andriimuzh

Hi, I am using mobx-keystone for a while on mobile (ReactNative) project and faced that applySnapshot/fromSnapshot takes too much time.
On some not very powerful devices, it may take up to 10 sec what is very bad. My snapshot may contain 1500 - 2500 models and I realize that is a big amount of data but still, 10 sec is too much.
Currently, I use the 0.60.2 version
I tried updating to 0.64 but in spite of less snapshot-size applying takes up to 20% more time compared with the 0.60.2 version.
I hope you'll help me find some solution. Thank you.
"mobx": "^6.3.2" "mobx-keystone": "^0.60.2" "mobx-react": "^7.2.0"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions