-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
cloneDeep is slow with lots of data #4097
Comments
You’re right about #4032, but this has been fixed since |
Well I tried 1.0.24 as well. While the experience was better, it is still way slower than 1.0.22. The applications I tested with and run fine with 1.0.22 perform sluggish with 1.0.24. I'm happy to provide you with some profiling numbers if needed. |
@benjamn any chance you would consider re-opening this issue? If yes, I will try to provide a reproducable example project. |
@fnberta I suggest you to open a new issue |
Starting with
apollo-client:2.4.3
(which includesapollo-utilities:1.0.22
), I noticed a severe downgrade in performance in applications that deal with a lot of data. Profiling them showed that a lot of time is spent in the cloneDeep function. Reverting toapollo-client:2.4.2
andapollo-utilities:1.0.21
solves the problem, so it seems like the implementation of cloneDeep introduced in #4032 is less efficient than the previous one.The text was updated successfully, but these errors were encountered: