-
Notifications
You must be signed in to change notification settings - Fork 144
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
Flamegraph Analysis #447
base: develop
Are you sure you want to change the base?
Flamegraph Analysis #447
Conversation
|
However, looking at the call stack closely, we can see that we are using some very slow mutex operations on the SQLite side: This can be resolved by setting |
Removing calls to |
Changes:
Attachment::from_row()
Message::get_replies()
TypedStreamReader::parse()
Message::from_row()
SQLITE_OPEN_NOMUTEX
(+40% overall)Original flamegraph (calls in pink were removed or improved):
Final flamegraph: