You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/product/insights/mobile/index.mdx
+1-61Lines changed: 1 addition & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,64 +12,4 @@ The [**Mobile Performance**](https://sentry.io/orgredirect/organizations/:orgslu
12
12
13
13
## Learn More
14
14
15
-
App start metrics track how long your mobile application takes to launch. For this, Sentry measures _cold starts_ and _warm starts_.
16
-
17
-
The definitions of cold start and warm start change slightly depending on the operating system. On iOS, Apple recommends your app take at most 400ms to render the first frame. On Android, the [Google Play console](https://developer.android.com/topic/performance/vitals/launch-time#av) warns you when a cold start takes longer than five seconds or a warm start longer than two seconds. For definitions by operating system, check out the corresponding SDK docs:
In the example below, the detail view of a transaction displays the warm start measurement in the right sidebar.
25
-
26
-

27
-
28
-
While the SDKs differentiate between a cold and a warm start, they don't track hot starts or resumes. To get more insight into your cold and warm start metrics, you can use the [App Starts](/product/insights/mobile-vitals/app-starts/) feature.
29
-
30
-
## Slow and Frozen Frames
31
-
32
-
To track the responsiveness of the user interface, Sentry measures _slow frames_ and _frozen frames_. Typically, a phone or tablet renders 60 frames per second (fps). At 60 fps, every frame has 16 or 16.67 ms to render.
33
-
34
-
-**Slow Frames**: Using 60 fps, slow frames are frames that take more than 16 ms (Android) or 16.67 ms (iOS) to render.
35
-
-**Frozen Frames**: Frozen frames are frames that take longer than 700 ms to render.
36
-
37
-
For Apple, the frame rate can be higher, especially as 120 fps displays are becoming more popular. For these apps, Sentry detects the frame rate and adjusts the slow frame calculation accordingly.
38
-
39
-
In the example below, the detail view of the transaction displays the slow, frozen, and total frames in an iOS application:
40
-
41
-

## Time to Initial Display and Time to Full Display
51
-
52
-
To track how long it takes your application to produce its first frame and then how long it takes to produce its first frame with all the content, Sentry measures time to initial display and time to full display, respectively.
53
-
54
-
-**Time to initial display**: tracks how long it takes for your mobile application to produce its first frame. This includes app start time on the first screen loaded. It doesn’t include any content loaded lazily after the first frame is drawn. Time to initial display is automatic and enabled by default.
55
-
-**Time to full display**: tracks how long it takes for your mobile application to produce its first frame with full content. This includes content loaded asynchronously after the first frame, for example, after loading content from the network. Time to full display is opt-in and requires you to manually call the API to report that the screen has loaded all of its content and is fully displayed.
56
-
57
-
In the example below, the detail view of the transaction displays the time-to-initial-display span in an Android application:
58
-
59
-

To get more insight into the performance of your time to initial display and time to full display metrics, use the [Screen Loads](/product/insights/mobile-vitals/screen-loads/) feature.
0 commit comments