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

[PLAT-6626] Perform symbolication on background thread #1102

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

nickdowell
Copy link
Contributor

@nickdowell nickdowell commented May 28, 2021

Goal

Reduce overhead of calling Bugsnag.notify()

Changeset

Symbolication of function names via dladdr() is now performed on a background thread to reduce the impact on the calling thread.

Testing

Tested manually using example app and amended barebones tests to validate that stack frames contain the necessary macho properties for symbolication.

In a simple test app, performance per call to notify() has been reduced from 6ms to 3ms 🎉

@nickdowell nickdowell changed the title Perform symbolication on background thread [PLAT-6626] Perform symbolication on background thread May 28, 2021
@github-actions
Copy link

Infer: No issues found 🎉

OCLint: No issues found 🎉

Bugsnag.framework binary size increased by 960 bytes from 1,126,712 to 1,127,672

Generated by 🚫 Danger

@nickdowell nickdowell merged commit 18ae786 into next Jun 1, 2021
@nickdowell nickdowell deleted the nickdowell/background-symbolication branch June 1, 2021 07:15
@nickdowell nickdowell mentioned this pull request Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants