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

perf: Add startup time benchmarks for the instrumentation sample #317

Closed
wants to merge 1 commit into from

Conversation

romtsn
Copy link
Member

@romtsn romtsn commented May 17, 2022

Adds benchmark module to measure the startup time of the instrumentation sample app. It uses the same configuration as has been reported by one of our customers.

Options:

  • The benchmark ran on Pixel 3XL
  • Minified release build
  • Cold Start
  • 5 iterations

Results

With Sentry

image

Without Sentry

image

Only Sentry block

image

Which can conclude that on average the SDK adds 20-25ms to the app startup time.

The PR is not meant to be merged and can serve as prior art for the SDK overhead measurement Q2 goal. (Perhaps, we can move this sample app under the sentry-java repo, because it's a bit more complex than the samples there)

@github-actions
Copy link
Contributor

Fails
🚫 Please consider adding a changelog entry for the next release.
`Instructions and example for changelog`$

Please add an entry to CHANGELOG.md` to the "Unreleased" section under the following heading:

To the changelog entry, please add a link to this PR (consider a more descriptive message):`

- Add startup time benchmarks for the instrumentation sample(#317)

If none of the above apply, you can opt out by adding _#skip-changelog_ to the PR description.

Generated by 🚫 dangerJS against 3ca9c2a

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.

1 participant