chore(profiling): Create independent Profiler for Hybrid SDKs#3016
Merged
krystofwoldrich merged 16 commits intomainfrom Nov 13, 2023
Merged
chore(profiling): Create independent Profiler for Hybrid SDKs#3016krystofwoldrich merged 16 commits intomainfrom
krystofwoldrich merged 16 commits intomainfrom
Conversation
…ependent' into kw-refactor-make-profiler-tx-independent
Contributor
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 283d83e | 348.44 ms | 392.06 ms | 43.62 ms |
| c7e2fbc | 372.00 ms | 461.71 ms | 89.71 ms |
| 86f0096 | 381.33 ms | 476.58 ms | 95.25 ms |
| 86f0096 | 368.63 ms | 446.92 ms | 78.29 ms |
| 93a76ca | 391.54 ms | 475.65 ms | 84.11 ms |
| c7e2fbc | 393.98 ms | 478.24 ms | 84.27 ms |
| 3d8bd2b | 375.34 ms | 446.32 ms | 70.98 ms |
| 0bf143e | 368.35 ms | 437.47 ms | 69.12 ms |
| 4bf95dd | 345.96 ms | 414.24 ms | 68.28 ms |
| 93a76ca | 377.41 ms | 448.22 ms | 70.81 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 283d83e | 1.72 MiB | 2.29 MiB | 577.69 KiB |
| c7e2fbc | 1.72 MiB | 2.29 MiB | 576.40 KiB |
| 86f0096 | 1.72 MiB | 2.29 MiB | 576.50 KiB |
| 86f0096 | 1.72 MiB | 2.29 MiB | 576.50 KiB |
| 93a76ca | 1.72 MiB | 2.29 MiB | 576.75 KiB |
| c7e2fbc | 1.72 MiB | 2.29 MiB | 576.40 KiB |
| 3d8bd2b | 1.72 MiB | 2.29 MiB | 577.53 KiB |
| 0bf143e | 1.72 MiB | 2.29 MiB | 576.50 KiB |
| 4bf95dd | 1.72 MiB | 2.29 MiB | 576.40 KiB |
| 93a76ca | 1.72 MiB | 2.29 MiB | 576.75 KiB |
Previous results on branch: kw-refactor-make-profiler-tx-independent
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| cc7192c | 327.96 ms | 387.92 ms | 59.96 ms |
| c6bd3c3 | 388.20 ms | 419.58 ms | 31.38 ms |
| a4759fd | 397.66 ms | 476.55 ms | 78.89 ms |
| 52a389b | 380.63 ms | 448.58 ms | 67.95 ms |
| 442c6dd | 375.12 ms | 447.33 ms | 72.21 ms |
| ed2130c | 380.00 ms | 451.81 ms | 71.81 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| cc7192c | 1.72 MiB | 2.29 MiB | 576.99 KiB |
| c6bd3c3 | 1.72 MiB | 2.29 MiB | 578.18 KiB |
| a4759fd | 1.72 MiB | 2.29 MiB | 577.02 KiB |
| 52a389b | 1.72 MiB | 2.29 MiB | 577.56 KiB |
| 442c6dd | 1.72 MiB | 2.29 MiB | 577.56 KiB |
| ed2130c | 1.72 MiB | 2.29 MiB | 577.56 KiB |
…ependent' into kw-refactor-make-profiler-tx-independent
Contributor
Author
|
@stefanosiano Is |
markushi
requested changes
Nov 3, 2023
Member
markushi
left a comment
There was a problem hiding this comment.
Nicely done refactoring! I left a comment which IMHO should be addressed, but apart from that - looks fine!
sentry-android-core/src/main/java/io/sentry/android/core/AndroidProfiler.java
Outdated
Show resolved
Hide resolved
added 3 commits
November 3, 2023 10:05
Codecov ReportAttention:
📢 Thoughts on this report? Let us know!. |
markushi
approved these changes
Nov 3, 2023
Contributor
I'm currently already investigating this |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
This PR extracts Android Profiling and Profile Metrics to separate class that doesn't contain any transaction logic.
This is preparation for mixed profiles in Hybrid SDKs, where the Hybrid SDKs manage the transactions.
💡 Motivation and Context
Changes that have been done for mixed profiler for RN iOS
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps