coopcycle / coopcycle-app

CoopCycle native app
MIT License
152 stars 33 forks source link

Redux performance #160

Open alexsegura opened 5 years ago

alexsegura commented 5 years ago

Since dispatch screen was introduced, there seems to be a problem with performance. Users are reporting that the app is slow, and takes long to perform some actions, like task completion.

This may be linked to the fact that we are now loading all the tasks of the day on dispatch screens, and this may consume a lot of RAM. Also, operations on the state may consume a lot of memory, as we are making copies of arrays all the time.

There can be several ways to improve RAM usage.

See FAQ about Redux performance for general considerations about optimizing the state.

Paul-Eraman-CoopCycle commented 1 year ago

Status? @alexsegura