Skip to content

fix(ttid/ttfd): Add frame data to ttid/ttfd spans #4871

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

Draft
wants to merge 4 commits into
base: antonis/appstart-frames
Choose a base branch
from

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented May 29, 2025

Based on: #4865

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Add frame data to ttid/ttfd spans

Note: The frames.delay (as it appears in the #4723 example) is not added with this PR since it would require native changes. To keep the implementation simple a followup PR will tackle #4869

💡 Motivation and Context

Partially #4723

💚 How did you test it?

CI, Manual

📝 Checklist

  • 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.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

Copy link
Contributor

github-actions bot commented May 29, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 460.18 ms 475.69 ms 15.51 ms
Size 17.75 MiB 20.15 MiB 2.40 MiB

Baseline results on branch: antonis/appstart-frames

Startup times

Revision Plain With Sentry Diff
8a3bfd9 419.98 ms 416.00 ms -3.98 ms
b2affff 475.47 ms 473.64 ms -1.83 ms

App size

Revision Plain With Sentry Diff
8a3bfd9 17.75 MiB 20.15 MiB 2.40 MiB
b2affff 17.75 MiB 20.15 MiB 2.40 MiB

Copy link
Contributor

github-actions bot commented May 29, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1234.31 ms 1244.92 ms 10.61 ms
Size 2.63 MiB 3.78 MiB 1.15 MiB

Baseline results on branch: antonis/appstart-frames

Startup times

Revision Plain With Sentry Diff
b2affff+dirty 1222.06 ms 1221.27 ms -0.80 ms
8a3bfd9+dirty 1225.81 ms 1229.79 ms 3.98 ms

App size

Revision Plain With Sentry Diff
b2affff+dirty 2.63 MiB 3.78 MiB 1.15 MiB
8a3bfd9+dirty 2.63 MiB 3.78 MiB 1.14 MiB

Copy link
Contributor

github-actions bot commented May 29, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 387.59 ms 395.51 ms 7.92 ms
Size 7.15 MiB 8.42 MiB 1.27 MiB

Baseline results on branch: antonis/appstart-frames

Startup times

Revision Plain With Sentry Diff
b2affff+dirty 474.94 ms 458.52 ms -16.42 ms
8a3bfd9+dirty 415.89 ms 430.87 ms 14.98 ms

App size

Revision Plain With Sentry Diff
b2affff+dirty 7.15 MiB 8.42 MiB 1.26 MiB
8a3bfd9+dirty 7.15 MiB 8.42 MiB 1.26 MiB

Copy link
Contributor

github-actions bot commented May 29, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1248.96 ms 1245.98 ms -2.98 ms
Size 3.19 MiB 4.35 MiB 1.17 MiB

Baseline results on branch: antonis/appstart-frames

Startup times

Revision Plain With Sentry Diff
b2affff+dirty 1229.60 ms 1227.96 ms -1.64 ms
8a3bfd9+dirty 1220.87 ms 1237.55 ms 16.68 ms

App size

Revision Plain With Sentry Diff
b2affff+dirty 3.19 MiB 4.35 MiB 1.17 MiB
8a3bfd9+dirty 3.19 MiB 4.34 MiB 1.16 MiB

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