Skip to content
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

Move e2ee decryptions out of the main thread #4306

Closed
manuroe opened this issue May 6, 2021 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#1091
Closed

Move e2ee decryptions out of the main thread #4306

manuroe opened this issue May 6, 2021 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#1091

Comments

@manuroe
Copy link
Member

manuroe commented May 6, 2021

Remove this TODO added 5y ago.

Every decryption blocks the main thread. On my account, an initial sync requires 2179 decryptions. Local decryption is mandatory to:

  • display the last message of every room
  • compute notifications
  • manage calls

Those 2179 decryptions take 12.4s of the main thread on an iPhone X. The usage of the main thread can be visible on incremental sync where the UI can freeze.

Make sure the fix for this issue also fixes #3028

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant