whetstone / redux-devtools-diff-monitor

https://www.npmjs.com/redux-devtools-diff-monitor
176 stars 14 forks source link

Slows down app when action is fired #25

Closed vjpr closed 8 years ago

vjpr commented 8 years ago

When an action is fired the entire app slows down while the devtools updates.

In #24 there was also some discussion of slowness. Apparently the diffing is expensive.

This is the most useful devtools monitor so far, would love to see this slowness resolved so that it is usable.

iktl commented 8 years ago

Thanks for the kind words – I have some time in the next week before I start a new job so I'll work some optimisations. I think the easiest method will be to compute the diff only when that action is expanded, so I'll probably overhaul a lot of the internals while I'm at it.

iktl commented 8 years ago

I've published a beta release for performance fixes, wherein it recalculates the diff only when the action is expanded and the store mutation data is visible. You can install it with npm install redux-devtools-diff-monitor@beta. Can you try this and see if it resolves the performance issue?

iktl commented 8 years ago

This should be addressed in 5.0.2. Please reopen or file a new ticket if this continues to be an issue.