-
Notifications
You must be signed in to change notification settings - Fork 6
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
perf: improve ProteusClientCoreCrypto performance [WPB-10000] 🍒 #2985
perf: improve ProteusClientCoreCrypto performance [WPB-10000] 🍒 #2985
Conversation
* perf: improve ProteusClientCoreCrypto performance * docs: fix typos * chore: move notebooks to docs/notebooks
Quality Gate passedIssues Measures |
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2985 +/- ##
========================================
Coverage 52.60% 52.60%
========================================
Files 1296 1296
Lines 49823 49831 +8
Branches 4648 4650 +2
========================================
+ Hits 26207 26213 +6
Misses 21740 21740
- Partials 1876 1878 +2
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3092 Passed, 105 Skipped, 10.39s Total Time |
This PR was automatically cherry-picked based on the following PR:
Original PR description:
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
We're a bit slow to process events.
Causes
In part, it's nature of E2EE. In part, we are not really being optimal.
In the generic sense, we can improve Proteus/CoreCrypto performance by not saving session (which is unnecessary, as CoreCrypto already does it during decryption), and also avoid checking if the session exists over and over again if we already know it exists.
Solutions
ProteusClientCoreCrypto
.Document my findings in this notebook.
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.