redux-saga / redux-saga-devtools

Saga monitor and UI devtool for redux-saga
MIT License
269 stars 39 forks source link

What with perfomance? #10

Open DTupalov opened 7 years ago

DTupalov commented 7 years ago

@yelouafi you made very helpful devtool for debugging. But after 50 and more iterations of watch / fork / cancel effects the project will work slower and slower. When turning off DockableSagaView, it's all OK.

I think it depend on quantity of effects, and how they are all rendered in Dock panel. But with hidden panel (if I will click Toogle), the same performance.

I've recorded cancellable-counter w/ and w/o DockableSagaView from your example. Notice how the button switches from Cancel increment (1) to increment after 5s.

With DockableSagaView

Without DockableSagaView

Andarist commented 7 years ago

aint sure if thats whole problem, but for sure something like react-virtualized could be used to optimize performance of the such a big list

peterox commented 7 years ago

I also find that adding the saga devtools slows down things quite noticeably.

eranimo commented 7 years ago

Also seeing significant slowdown here

Andarist commented 7 years ago

Well, this is very much alpha version. Unfortunately no one is working on this at the moment. If you want to help with performance improvement or anything else please reach out to me and I can help with guidance.