Skip to content

feat: improve device info parsing on dart & non-mobile Flutter#2441

Merged
vaind merged 4 commits into
mainfrom
feat/improve-io-contexts
Nov 22, 2024
Merged

feat: improve device info parsing on dart & non-mobile Flutter#2441
vaind merged 4 commits into
mainfrom
feat/improve-io-contexts

Conversation

@vaind

@vaind vaind commented Nov 22, 2024

Copy link
Copy Markdown
Contributor

📜 Description

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

@github-actions

github-actions Bot commented Nov 22, 2024

Copy link
Copy Markdown
Contributor
Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- improve device info parsing on dart & non-mobile Flutter ([#2441](https://github.com/getsentry/sentry-dart/pull/2441))

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

Generated by 🚫 dangerJS against 06685ad

@codecov

codecov Bot commented Nov 22, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 94.87179% with 2 lines in your changes missing coverage. Please review.

Project coverage is 86.94%. Comparing base (97c29ca) to head (06685ad).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
dart/lib/src/protocol/sentry_operating_system.dart 84.61% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2441       +/-   ##
===========================================
+ Coverage   66.52%   86.94%   +20.42%     
===========================================
  Files          17      257      +240     
  Lines         687     9238     +8551     
===========================================
+ Hits          457     8032     +7575     
- Misses        230     1206      +976     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@github-actions

github-actions Bot commented Nov 22, 2024

Copy link
Copy Markdown
Contributor

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 439.24 ms 473.31 ms 34.06 ms
Size 6.49 MiB 7.56 MiB 1.07 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
62dde43 339.21 ms 423.06 ms 83.85 ms
5d2b46d 307.74 ms 349.85 ms 42.11 ms
4efee31 308.92 ms 368.68 ms 59.76 ms
4b943a1 348.17 ms 437.15 ms 88.98 ms
33d0587 308.79 ms 370.86 ms 62.07 ms
b98109e 296.46 ms 362.68 ms 66.22 ms
3de8b9b 348.55 ms 445.84 ms 97.29 ms
d53c6fa 282.83 ms 344.00 ms 61.17 ms
464b4d0 320.71 ms 380.02 ms 59.31 ms
2e8b1e1 367.00 ms 450.12 ms 83.12 ms

App size

Revision Plain With Sentry Diff
62dde43 5.94 MiB 6.96 MiB 1.02 MiB
5d2b46d 6.16 MiB 7.13 MiB 1000.82 KiB
4efee31 5.94 MiB 6.92 MiB 1003.76 KiB
4b943a1 6.34 MiB 7.28 MiB 968.41 KiB
33d0587 6.16 MiB 7.14 MiB 1007.47 KiB
b98109e 6.06 MiB 7.03 MiB 993.53 KiB
3de8b9b 6.27 MiB 7.20 MiB 957.75 KiB
d53c6fa 6.16 MiB 7.14 MiB 1011.18 KiB
464b4d0 6.06 MiB 7.03 MiB 990.27 KiB
2e8b1e1 6.35 MiB 7.40 MiB 1.05 MiB

Previous results on branch: feat/improve-io-contexts

Startup times

Revision Plain With Sentry Diff
b9dcb40 446.46 ms 500.18 ms 53.72 ms

App size

Revision Plain With Sentry Diff
b9dcb40 6.49 MiB 7.56 MiB 1.07 MiB

@github-actions

github-actions Bot commented Nov 22, 2024

Copy link
Copy Markdown
Contributor

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1253.11 ms 1275.49 ms 22.38 ms
Size 8.38 MiB 9.78 MiB 1.40 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d7758e8 1271.69 ms 1288.08 ms 16.39 ms
379d7a8 1267.65 ms 1288.39 ms 20.74 ms
0118295 1211.31 ms 1227.02 ms 15.71 ms
8cb6557 1265.14 ms 1266.08 ms 0.94 ms
bf4aed7 1274.63 ms 1286.48 ms 11.85 ms
0210372 1255.49 ms 1280.98 ms 25.49 ms
9811573 1259.78 ms 1278.33 ms 18.55 ms
6a5a65d 1237.22 ms 1250.29 ms 13.07 ms
1edf30e 1254.43 ms 1272.82 ms 18.39 ms
3a43905 1254.31 ms 1266.35 ms 12.04 ms

App size

Revision Plain With Sentry Diff
d7758e8 8.15 MiB 9.12 MiB 989.76 KiB
379d7a8 8.16 MiB 9.16 MiB 1.00 MiB
0118295 8.32 MiB 9.38 MiB 1.05 MiB
8cb6557 8.10 MiB 9.18 MiB 1.08 MiB
bf4aed7 8.10 MiB 9.17 MiB 1.08 MiB
0210372 8.38 MiB 9.73 MiB 1.35 MiB
9811573 8.16 MiB 9.17 MiB 1.01 MiB
6a5a65d 8.34 MiB 9.65 MiB 1.31 MiB
1edf30e 8.16 MiB 9.17 MiB 1.01 MiB
3a43905 8.10 MiB 9.18 MiB 1.08 MiB

Previous results on branch: feat/improve-io-contexts

Startup times

Revision Plain With Sentry Diff
b9dcb40 1257.65 ms 1280.16 ms 22.51 ms

App size

Revision Plain With Sentry Diff
b9dcb40 8.38 MiB 9.78 MiB 1.40 MiB

@vaind
vaind marked this pull request as ready for review November 22, 2024 13:49

@buenaflor buenaflor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@vaind
vaind merged commit 25fc225 into main Nov 22, 2024
@vaind
vaind deleted the feat/improve-io-contexts branch November 22, 2024 14:27
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