Redux-observable: Extremely slow & barely usable

Created on 26 Sep 2020  路  3Comments  路  Source: redux-observable/redux-observable

Did you even run performance tests on this? When I'm using this to map actions the target action is executed like 0,7 seconds after the source has action dispatched. On the other hand, when I subscribe directly to the same store variable using RxJS's from() method it takes only 1 ms to dispatch the consecutive action.

This alone makes this plugin virtually useless.

Most helpful comment

No one has ever run any of the code in this repo. We're not even sure where the code came from, to be honest.

All 3 comments

No one has ever run any of the code in this repo. We're not even sure where the code came from, to be honest.

In seriousness, I suggest taking a less abusive approach to people who volunteer their time and code. We're friendly people to people who are friendly.

It's unclear exactly what you were doing to run into performance concerns, but here's a simple "hello world" of performance tests鈥攊t also includes the intrinsic overhead from Redux and RxJS. If you're able to create a minimum reproduction I can take a look.

https://stackblitz.com/edit/redux-observable-playground-fkikqn?file=index.js

image

Here is an idea. Why don't you make your own library that operates to your own liking?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fedbalves picture fedbalves  路  4Comments

subhaze picture subhaze  路  4Comments

Tomekmularczyk picture Tomekmularczyk  路  4Comments

dance2die picture dance2die  路  4Comments

ncuillery picture ncuillery  路  3Comments