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: README.md
+54-1
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,13 @@ flexible with re-using the monitoring approaches already existing in your produc
16
16
Library supports collecting following performance metrics:
17
17
- App Cold Startup Time
18
18
- Rendering performance per Activity
19
+
- Time to Interactive & Time to First Render per screen
19
20
20
21
We recommend to read our blogpost ["Measuring mobile apps performance in production"](https://medium.com/booking-com-development/measuring-mobile-apps-performance-in-production-726e7e84072f)
21
-
first to get some idea on how performance metrics work and why those were chosen.
22
+
first to get some idea on what are these performance metrics, how they work and why those were chosen.
23
+
24
+
> NOTE: You can also refer to the [SampleApp](sampleApp/src/main/java/com/booking/perfsuite/app)
25
+
> in this repo to see a simplified example of how the library can be used in the real app
22
26
23
27
### Dependency
24
28
@@ -98,6 +102,55 @@ Then metrics will be represented as [`RenderingMetrics`](src/main/java/com/booki
98
102
99
103
Even though we support collecting widely used slow & frozen frames we [strongly recommend relying on `totalFreezeTimeMs` as the main rendering metric](https://medium.com/booking-com-development/measuring-mobile-apps-performance-in-production-726e7e84072f#2d5d)
100
104
105
+
### Collecting Screen Time to Interactive (TTI)
106
+
107
+
Implement the callbacks invoked every time when screen's
108
+
[Time To Interactive (TTI)](https://medium.com/booking-com-development/measuring-mobile-apps-performance-in-production-726e7e84072f#ad4d) &
109
+
[Time To First Render (TTFR)](https://medium.com/booking-com-development/measuring-mobile-apps-performance-in-production-726e7e84072f#f862)
See the [SampleApp](sampleApp/src/main/java/com/booking/perfsuite/app) for a full working example
153
+
101
154
## Additional documentation
102
155
-[Measuring mobile apps performance in production](https://medium.com/booking-com-development/measuring-mobile-apps-performance-in-production-726e7e84072f)
103
156
-[App Startup Time documentation by Google](https://developer.android.com/topic/performance/vitals/launch-time)
0 commit comments