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

Decryption is about 5 times slower in the 1.8.17 RC #6239

Closed
manuroe opened this issue Jun 3, 2022 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#1488
Closed

Decryption is about 5 times slower in the 1.8.17 RC #6239

manuroe opened this issue Jun 3, 2022 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#1488
Labels
A-E2EE O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Regression

Comments

@manuroe
Copy link
Member

manuroe commented Jun 3, 2022

Steps to reproduce

This is visible for end users with the initial sync that takes ages. It is even not able to complete.

Logs show that decryptions take more than 30 ms on an iPhone 13 instead of 5/6 ms.

[MXRealmCryptoStore] performSessionOperationWithGroupSessionWithId after 33.821ms

Most of this time is spent in the realm I/O for the megolm key. The actual megolm decryption operation takes 0.1ms.

It is related to a realm performance issue that has been fixed in the very last release: https://github.com/realm/realm-swift/releases/tag/v10.27.0.

Outcome

Come back to 5/6ms decryption time.

Your phone model

No response

Operating system version

No response

Application version

1.8.17

Homeserver

No response

Will you send logs?

No

@manuroe manuroe added T-Defect Something isn't working: bugs, crashes, hangs and other reported problems A-E2EE X-Regression S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience labels Jun 3, 2022
@RiotRobot RiotRobot added this to Incoming in Issue triage Jun 3, 2022
Issue triage automation moved this from Incoming to Closed Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems X-Regression
Projects
Development

Successfully merging a pull request may close this issue.

1 participant