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

fix(client): use _setupIntegrations to extend both init and public setupIntegrations #3882

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

krystofwoldrich
Copy link
Member

📢 Type of change

  • Bugfix

📜 Description

This PR fixes missing RN tracing integrations (these integrations are dummy for telemetry purposes only). They stopped beiing reported when JS core switched from setupIntegrations to init.

💚 How did you test it?

sample app, unit tests

📝 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
  • All tests passing
  • No breaking changes

Copy link
Contributor

github-actions bot commented Jun 11, 2024

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 393.00 ms 422.18 ms 29.18 ms
Size 17.73 MiB 19.94 MiB 2.21 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
8900e1a+dirty 430.68 ms 456.13 ms 25.44 ms
d361d38 354.10 ms 381.69 ms 27.59 ms
9c48b2c 349.24 ms 385.96 ms 36.72 ms
9a3ca65+dirty 326.93 ms 330.14 ms 3.21 ms
d197b5c+dirty 338.94 ms 354.87 ms 15.93 ms
457e29f 398.10 ms 421.39 ms 23.29 ms
e5c9b8b 409.02 ms 426.66 ms 17.64 ms
5bb8d5f 431.21 ms 459.40 ms 28.19 ms
31fcca2 391.22 ms 414.78 ms 23.56 ms
abb7058 370.27 ms 389.58 ms 19.31 ms

App size

Revision Plain With Sentry Diff
8900e1a+dirty 17.73 MiB 19.75 MiB 2.01 MiB
d361d38 17.73 MiB 19.81 MiB 2.08 MiB
9c48b2c 17.73 MiB 19.80 MiB 2.07 MiB
9a3ca65+dirty 17.73 MiB 20.04 MiB 2.31 MiB
d197b5c+dirty 17.73 MiB 20.04 MiB 2.31 MiB
457e29f 17.73 MiB 19.84 MiB 2.10 MiB
e5c9b8b 17.73 MiB 19.83 MiB 2.10 MiB
5bb8d5f 17.73 MiB 19.93 MiB 2.20 MiB
31fcca2 17.73 MiB 19.90 MiB 2.17 MiB
abb7058 17.73 MiB 19.83 MiB 2.10 MiB

Copy link
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 364.48 ms 407.71 ms 43.23 ms
Size 7.15 MiB 8.21 MiB 1.07 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
8900e1a+dirty 371.40 ms 377.70 ms 6.31 ms
5a22220+dirty 384.61 ms 419.06 ms 34.45 ms
9a3ca65+dirty 344.96 ms 358.92 ms 13.96 ms
d197b5c+dirty 258.75 ms 313.61 ms 54.86 ms
5571a20+dirty 359.52 ms 389.80 ms 30.28 ms
3853f43+dirty 278.12 ms 338.72 ms 60.60 ms
62a750b+dirty 370.78 ms 376.73 ms 5.96 ms
d7401ac+dirty 373.98 ms 394.08 ms 20.10 ms
2534337+dirty 597.14 ms 665.04 ms 67.90 ms
22e31b6+dirty 295.75 ms 346.73 ms 50.98 ms

App size

Revision Plain With Sentry Diff
8900e1a+dirty 7.15 MiB 8.03 MiB 901.79 KiB
5a22220+dirty 7.15 MiB 8.21 MiB 1.06 MiB
9a3ca65+dirty 7.15 MiB 8.09 MiB 962.83 KiB
d197b5c+dirty 7.15 MiB 8.09 MiB 962.72 KiB
5571a20+dirty 7.15 MiB 8.20 MiB 1.05 MiB
3853f43+dirty 7.15 MiB 8.08 MiB 959.34 KiB
62a750b+dirty 7.15 MiB 8.21 MiB 1.06 MiB
d7401ac+dirty 7.15 MiB 8.04 MiB 910.85 KiB
2534337+dirty 7.15 MiB 8.11 MiB 988.68 KiB
22e31b6+dirty 7.15 MiB 8.10 MiB 981.29 KiB

Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

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

LGTM!

@krystofwoldrich krystofwoldrich enabled auto-merge (squash) June 13, 2024 12:16
@krystofwoldrich krystofwoldrich merged commit 9fc8151 into main Jun 13, 2024
50 of 52 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/fix-missing-tracing-integrations branch June 13, 2024 12:19
Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1202.92 ms 1208.19 ms 5.27 ms
Size 2.36 MiB 3.03 MiB 680.75 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
34aba08+dirty 1276.78 ms 1308.52 ms 31.74 ms
1d86dd6+dirty 1249.71 ms 1279.16 ms 29.45 ms
abb7058+dirty 1255.42 ms 1268.86 ms 13.44 ms
70caa60+dirty 1218.27 ms 1230.30 ms 12.03 ms
e73f4ed+dirty 1243.27 ms 1244.52 ms 1.25 ms
22e31b6+dirty 1253.62 ms 1265.96 ms 12.34 ms
27ef4ee+dirty 1293.52 ms 1296.08 ms 2.56 ms
8900e1a+dirty 1210.27 ms 1218.66 ms 8.39 ms
5bb8d5f+dirty 1235.47 ms 1237.39 ms 1.92 ms
6e8584e+dirty 1274.50 ms 1296.82 ms 22.32 ms

App size

Revision Plain With Sentry Diff
34aba08+dirty 2.36 MiB 2.85 MiB 495.32 KiB
1d86dd6+dirty 2.36 MiB 2.89 MiB 535.43 KiB
abb7058+dirty 2.36 MiB 2.87 MiB 520.42 KiB
70caa60+dirty 2.36 MiB 2.83 MiB 479.27 KiB
e73f4ed+dirty 2.36 MiB 2.82 MiB 469.44 KiB
22e31b6+dirty 2.36 MiB 2.87 MiB 520.67 KiB
27ef4ee+dirty 2.36 MiB 2.85 MiB 500.03 KiB
8900e1a+dirty 2.36 MiB 2.83 MiB 479.25 KiB
5bb8d5f+dirty 2.36 MiB 2.92 MiB 570.22 KiB
6e8584e+dirty 2.36 MiB 2.88 MiB 533.17 KiB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants