Skip to content

Performance improvements

Kévin Commaille requested to merge performance into dev

These are mainly performance improvements, but there are other changes too:

Performance

  • Go back to using matrix-js-sdk as source of data to improve performance
  • SQLStore to persist matrix-js-sdk data in an SQL database
  • Some improvements in components to have fewer re-renders and improve performance (and more to come)

Others

  • Create classes inspired by older Models to interface with the Matrix client
  • Remove Actions in services and use Observables properly instead
  • Merge services and 'main' files
  • Use the Observable naming convention of putting a $ at the end
  • In the Timeline, add a visual hint if a message is sending or could not be sent
  • Send pending messages when the connection to the homeserver is back

Needs work

  • The SDK only persists a few messages per room
  • Pending messages are lost if the app is stopped

Merge request reports