-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Optimize ngrx/store-devtools
#314
Comments
Thanks for the report. Do you use the extension with Redux as usually or with integrations like |
Any details on this? I don't see any leaks on the extension part. I assume you're using |
Yeah, it's using
Does that sound outlandish of a file size? |
I'm not familiar with StoreDevtoolsModule.instrumentStore({maxAge: 2}), However, that can be addressed better on
Other than that, there's nothing we can do from our part. \cc @MikeRyan52 |
ngrx/store-devtools
yes in our very large redux store, changing to |
That definitely helps. Thanks for the help! |
maxAge = 2 makes no difference for me. All I can do for now is to remove it from my production build. I have a very large store and multi-user support, with the server replaying back all actions to all connected clients. With the StoreDevtools, actions start to take 2-4x as long after around 400 actions. Left it on for my dev build since it's so indispensable :) |
I found out that It's part of the redux-devtools' API which is used by @ngrx/store-devtools. With @angular-redux/store there is no problem with devtools cause it's not using the API. There you are integrate the devtools directly. |
@Braincompiler of course |
@zalmoxisus I get the idea, I just wanted to provide the information about what I found out :) |
Hi, looks like a faced a similar problem with Action and state sanitizers can help a lot here. I made a replacement for the big values before serialization and it resulted in significant performance boost. |
HI, In my case we have Observable.Websocket that emits several msg per second and the tools freeze complete my browser. |
there are the way to disabled the DevTools on fly ? |
Maybe FP structural sharing for storing state history would help solving the memory issues that come with the devtools with large datasets, just throwing in two cents. |
@heyMP found an interesting issue the other day. We've built an Angular2 based collaborative one-page app that lets people post images and then comment on them. Nothing crazy. Well, we started to notice if we throw like 100+ objects to present on the UI that the first load is fine, but any change to any object after that causes the app to run horrifically slow to the point of being unusable.
I was told on twitter to post here so not complaining just didn't realize this was what was happening and poor @heyMP refactored our whole app to no avail till he realized it was the plugin.
The text was updated successfully, but these errors were encountered: