-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
perf: Prewarmed app start detection #2151
Conversation
Use isEqualToString instead of isEqual. This could potentially lead to wrong prewarmed app start detection.
Performance metrics 🚀
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. By any chance did you confirm that this is still in the process environment variables with iOS 16?
No, I didn't find anything according to that yet. Do you maybe know, @armcknight? I will also look into customer data to find out. |
Not sure yet, haven't tried out Xcode 14 yet. Excited to! Will look tomorrow. |
* master: (73 commits) ref: Fix typo in measurement (#2154) Fix typos in changelog (#2153) docs: Add a note on flaky tests to Contributing (#2161) docs: fix PR reference in CHANGELOG (#2157) test: generate graphs for benchmarks (#2158) release: 7.25.1 fix: Prewarmed app start detection (#2151) ci: temporarily disable scheduled CI runs uploading profiles/symbols (#2152) Run tests on iOS 16 using Xcode 14.0 (#2147) ref: Fix Xcode 14 compile issues (#2145) Provide fallbacks for assertions in production (#2141) Fix compile errors in Xcode 14 (#2146) release: 7.25.0 fix: setting SDK name through options[sdk][name] shouldn't clear version (#2139) fix: SentryTracer instances should be called "tracer", not "transaction" (#2137) ref: functions to convert to/from enum cases (#2108) fix: Crash with screenshot is reported twice (#2134) meta: Clarify PR rules in Contributing (#2133) meta: Fix Changelog (#2136) feat: Add support for dynamic library (#1726) ...
* master: ref: Fix typo in measurement (#2154) Fix typos in changelog (#2153) docs: Add a note on flaky tests to Contributing (#2161) docs: fix PR reference in CHANGELOG (#2157) test: generate graphs for benchmarks (#2158) release: 7.25.1 fix: Prewarmed app start detection (#2151) ci: temporarily disable scheduled CI runs uploading profiles/symbols (#2152)
I don’t see how this would fix anything, as
The result should be identical to calling |
You are right, @triplef. Thanks, for pointing out that detail. This PR should be a refactoring or a performance improvement. I'm going to update the changelog. |
`Instructions and example for changelog`$
To the changelog entry, please add a link to this PR (consider a more descriptive message):` - Prewarmed app start detection(#2151)
|
The change in #2151 doesn't fix anything, see #2151 (comment). Instead, the PR is only a performance improvement. Update the Changelog to clarify expectation.
The change in #2151 doesn't fix anything, see #2151 (comment). Instead, the PR is only a performance improvement. Update the Changelog to clarify expectation.
📜 Description
Use isEqualToString instead of isEqual. This could potentially lead to wrong prewarmed app start detection.
Update: As pointed out in #2151 (comment) this change won't fix anything. Instead, it is a performance improvement.
💡 Motivation and Context
It seems like the logic is not working properly. Still saw a few pre-warmed app starts in customer data. Maybe this is the root cause.
💚 How did you test it?
Unit tests use the same string constant so it won't fail.
📝 Checklist
🔮 Next steps