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

feat(apple): Add docs for performanceV2 #9109

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,22 @@ SentrySDK.reportFullyDisplayed()
If the span finishes through the API, its `status` is set to `SpanStatus.OK`. If the span doesn't finish after 30 seconds, it will be finished by the SDK automatically, and its `status` will be set to `SpanStatus.DEADLINE_EXCEEDED`, also its duration will match the same of the `Time to initial display` span and the description will contain `Deadline Exceeded` suffix.
If a call to `reportFullyDisplayed()` happens before the view controller appears, the reported time will be shifted to `Time to initial display` measured time.

## Performance V2

<Note>

This feature is experimental and may have bugs.

</Note>

_(New in version 8.18.0)_

We are improving the performance offering with the code name Mobile Starfish, which aims to provide better insights into mobile app performance and highlight clear actions to improve app performance for developers. The `performanceV2` option changes the following behavior:

* The app start duration finishes when the first frame is drawn instead of when the OS posts the `UIWindowDidBecomeVisibleNotification`.

We aim to include the behavioral changes by default in the next major version.
philipphofmann marked this conversation as resolved.
Show resolved Hide resolved

## Opt Out

You can opt out of all automatic instrumentations using the options:
Expand Down
Loading