4 ms·
The overhead for a simple textarea seems significant. On Firefox there are stalls (up to 500 ms) if I type "fast". I've tested the form on http://redux-form.com
by Koromix 10y ago
The overhead for a simple textarea seems significant. On Firefox there are stalls (up to 500 ms) if I type "fast". I've tested the form on http://redux-form.com/5.2.5/#/examples/simple?_k=8ukhm8 http://redux-form.com/5.2.5/#/examples/simple?_k=8ukhm8 (specifically the textarea).
Here is the CPU time graph during my tests: http://imgur.com/we9uGQ7 http://imgur.com/we9uGQ7
EDIT: OK apparently it's not accurate, see comment below.
- marshalltony 10y agoHe has redux dev tools enabled which might be causing issues with performance. We use redux-form for a medium project and have had zero performance issues. If you have huge forms you may run into performance issues but those are also gone in the new version.
- fpgaminer 10y agoConfirmed; just tested on my machine (Firefox, i7-3632QM @ 2.2GHz) by mashing on the keyboard. CPU spikes to 100% on one core and results in stalling. In contrast the React+Redux app I'm working on uses the local Controller/Component state method and mashing on the keyboard there gave ~20% CPU. I never would have imagined that Redux Form would lag on a desktop/laptop. I was more concerned that mobile performance would suffer. It's kind of impressive that a simple form can lag a desktop browser...
- groovytime 10y agoHe has redux dev tools enabled, hence the performance issues.
- Koromix 10y agoIndeed it behaves much better on a demo I found elsewhere, sorry for the inaccurate comment.