-
Notifications
You must be signed in to change notification settings - Fork 0
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
Multithreading Redux Actions #1082
Comments
SerializableStateInvariantMiddleware
throws time threshold warnings for "state or actions are very large"SerializableStateInvariantMiddleware
throws time threshold warnings when "state or actions are very large"
Attempts to unload some of the CPU intensive calls (i.e.
But attempts to run this code in Electron result in the following: This is because Electron currently only supports CommonJS modules. However, there are some potential future fixes that might introduce ESM support in Electron in the future: |
Other multi-threading options include:
|
SerializableStateInvariantMiddleware
throws time threshold warnings when "state or actions are very large"
Resolved in Synectic v4.0.0. |
Describe the bug
Loading large files into the Redux store results in significant delays which trigger the Redux Serializability Middleware threshold of 32ms per event (with most events requiring 30-40ms, but occasionally spiking above 60ms). These events correspond to an unresponsive UI and sluggish load times.
For larger projects (with lots of files), these warnings will be triggered every time the
FSCache
subsystem attempts to update the Redux store state. An example warning message (typically one of 100+ such messages that appear in the DevTools console logs when loading a large project such asEPICLab/ant-design
):To Reproduce
Steps to reproduce the behavior:
File
→Open...
Expected behavior
Loading files in the background and presenting necessary details in the UI as the user opens files, directories, and branches in the different cards displayed on the canvas.
Screenshots

Versions (please complete the following information):
Additional context
Attempts to load
EPICLab/ant-design
result in the following console log warnings: localhost-1672852410238.logThe text was updated successfully, but these errors were encountered: