Skip to content

Conversation

noahsmartin
Copy link
Contributor

@noahsmartin noahsmartin commented Aug 27, 2025

As the comment on this property already stated, it should be the default in V9

#skip-changelog

Copy link
Contributor

github-actions bot commented Aug 27, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 6a4d52d

@noahsmartin noahsmartin marked this pull request as ready for review August 27, 2025 18:28
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@af7a86c). Learn more about missing BASE report.
⚠️ Report is 8 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main     #6008   +/-   ##
========================================
  Coverage        ?   86.751%           
========================================
  Files           ?       424           
  Lines           ?     36722           
  Branches        ?     17366           
========================================
  Hits            ?     31857           
  Misses          ?      4820           
  Partials        ?        45           
Files with missing lines Coverage Δ
Sources/Sentry/SentryAppStartTrackingIntegration.m 100.000% <100.000%> (ø)
Sources/Sentry/SentryOptions.m 97.476% <100.000%> (ø)
Sources/Sentry/SentyOptionsInternal.m 99.687% <100.000%> (ø)
...es/Swift/Helper/SentryEnabledFeaturesBuilder.swift 100.000% <100.000%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af7a86c...6a4d52d. Read the comment docs.

Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1239.35 ms 1261.18 ms 21.83 ms
Size 23.75 KiB 927.07 KiB 903.33 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
c5bedc0 1203.83 ms 1236.17 ms 32.33 ms
aadbffe 1228.73 ms 1251.59 ms 22.86 ms
2de3f92 1207.56 ms 1234.96 ms 27.40 ms
ed85746 1231.79 ms 1248.55 ms 16.75 ms
21efa18 1227.73 ms 1250.04 ms 22.31 ms
7148f97 1235.09 ms 1258.07 ms 22.98 ms
d0f70ce 1226.54 ms 1247.04 ms 20.50 ms
5bf2b17 1213.53 ms 1238.54 ms 25.01 ms
1339919 1214.82 ms 1238.98 ms 24.16 ms
2a36c3f 1227.27 ms 1246.89 ms 19.63 ms

App size

Revision Plain With Sentry Diff
c5bedc0 23.75 KiB 920.63 KiB 896.89 KiB
aadbffe 23.75 KiB 912.77 KiB 889.02 KiB
2de3f92 23.75 KiB 919.69 KiB 895.94 KiB
ed85746 23.75 KiB 920.83 KiB 897.08 KiB
21efa18 23.75 KiB 919.70 KiB 895.95 KiB
7148f97 23.75 KiB 854.78 KiB 831.03 KiB
d0f70ce 23.75 KiB 913.09 KiB 889.34 KiB
5bf2b17 23.75 KiB 913.27 KiB 889.52 KiB
1339919 23.75 KiB 919.70 KiB 895.95 KiB
2a36c3f 23.75 KiB 874.45 KiB 850.71 KiB

@@ -287,6 +287,7 @@ NS_SWIFT_NAME(Options)
*/
@property (nonatomic, assign) BOOL enableAutoPerformanceTracing;

#if !SDK_V9
Copy link
Member

Choose a reason for hiding this comment

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

h: Not sure if I understand this PR's intention. Do you want to make enablePerformanceV2 be enabled by default or do you want to remove the options? If the latter one why would we want to remove the option?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@philprime I assumed if we had a V2 of something we'd eventually want to remove the V1 since V2 is better/newer, but maybe the intent here was to have two definitions of app start, and then I'd recommend having something like an enum for "AppStartType" so it's clear what is changing rather than a v1/v2

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