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
When it comes to building an application, tracking its performance is crucial. You can follow the performance of your applications with LambdaTest's Real Device cloud platform on metrics like CPU consumption, network usage and many more. Go through the page below to understand each metric that LambdaTest provides you with.
42
43
43
44
## Metrics
@@ -54,6 +55,8 @@ LambdaTest provides you with two metrics in a time-series format representing th
54
55
55
56
2.**App CPU Usage (%)**: The share of "System CPU usage" being used by the AUT.
@@ -76,15 +81,15 @@ A high-performing app could also drain the mobile device's battery quickly, affe
76
81
77
82
You can monitor the battery drained while using your app and subsequently optimize the features that may contribute to a lot of battery drain, improving the battery life of devices running your app.
You can identify elements that cause the battery to overheat by monitoring the battery temperatures while using your app.
90
+
You can identify elements that cause the battery to overheat by monitoring the battery temperatures while using your app. This might help you decide which features to optimise first to save energy and prolong the battery life of the devices running your app. You won't have to worry about your smartphone overheating or encountering performance issues due to a heated battery, improving the user experience.
84
91
85
-
This might help you decide which features to optimise first to save energy and prolong the battery life of the devices running your app.
86
-
87
-
Users won't have to worry about their smartphone overheating or encountering performance issues due to a heated battery, improving the user experience.
Sometimes, your application stops responding, and you receive a pop-up to wait or close the app. Knowing what part of the application's life cycle results in an ANR and in which condition is critical.
114
-
115
-
Such instances can ruin the user experience, especially when inputting any information.
122
+
Sometimes, your application stops responding, and you receive a pop-up to wait or close the app. Knowing what part of the application's life cycle results in an ANR and in which condition is critical. Such instances can ruin the user experience, especially when inputting any information.
116
123
117
124
LambdaTest provides information on the number of times your app faced ANR and a dump of logs to find more details quickly. However, this feature is supported only for Android devices for now.
118
125
@@ -130,20 +137,30 @@ This can result in a more responsive and smoother user experience. Currently, yo
130
137
131
138
### Track the Metrics via App Automation
132
139
133
-
You can track the performance metrics for your application inside an app automation test. The data will be captured at the test level and shown on the test details page.
140
+
You can track the performance metrics for your application inside an app automation test. The data will be captured at the test level and shown on the test details page. Just add the following capability inside your test, and set it to `true`.
134
141
135
-
Just add the following capability inside your test, and set it to `true`.
136
-
137
-
```bash
142
+
```javascript
138
143
"appProfiling":true;
139
144
```
140
145
141
-
> **Note**: The `appProfiling` flag is supported for Appium tests on iOS and Android devices. However, it is only supported on devices with an Android version of 9 or above and tests where the `resignApp` capability is not set to `false`.
146
+
:::tip
147
+
The `appProfiling` flag is supported for Appium tests on iOS and Android devices. However, it is only supported on devices with an **Android version >=9** and tests where the `resignApp` capability is not set to `false`.
148
+
:::
142
149
143
-
A sample output of this test will look like:
150
+
:::note
151
+
You can also also use this API to enable the app profiling feature in your tests:
Copy file name to clipboardExpand all lines: docs/automated-ss-api.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,8 +189,8 @@ In case you wish to fetch all the details from an already executed screenshot te
189
189
```javascript
190
190
https://api.lambdatest.com/screenshots/v1/Test ID
191
191
```
192
-
>
193
-
**Note:** Test ID is a mandatory field for making use of this GET request. This would fetch details in JSON format for all bulk screenshots captured in a test session specified by you.
192
+
193
+
> **Note:** Test ID is a mandatory field for making use of this GET request. This would fetch details in JSON format for all bulk screenshots captured in a test session specified by you.
**Note:** This will terminate only a running test session. Providing a TestID of an already completed test session will provide you with a 404 error as the server response.
379
+
380
+
> **Note:** This will terminate only a running test session. Providing a TestID of an already completed test session will provide you with a 404 error as the server response.
0 commit comments