iOS System Resources Monitoring
SeeTest provides API for monitoring device CPU, Memory and Battery Usage, this document applies to SeeTest version 12.0 and above
- Our System Resources data is based on Apple tools: Xcode and Activity Monitor Instrument
- Currently, Apple does not provide any API for monitoring these kinds of resources, only graphical user interface tools are available
- For each type of resource, SeeTest can provide values both for the entire system and for a specific process.
- SeeTest provides both real-time monitoring graphs and API for automation tests that allow capturing the data during the test
- Since SeeTest 12.0 SeeTest also supports monitoring for system apps such as Safari, Email and more
- All System Resources Monitoring are available for both non-instrumented and instrumented applications
The following is a short explanation for each type of System Resources:
Memory
SeeTest memory metrics data correlates to the Activity Monitor Instrument - 'Memory' column introduced in Xcode 10
This data is a value calculated by Apple and gives a relative indication of the monitored process memory usage.
Until version 11.9, SeeTest memory metrics data have been derived from a different Activity Monitor Instrument column - 'Real Mem' column This column does not exist in the new Xcode versions and has a value different than the new 'Memory' column used in Xcode 10. Please note that your performance test results might be affected by this change. You may revert back to the old behavior by using the property 'ios.11.use.old.monitoring.service' but this will remove the support for non-development applications
The following screenshot shows the different values between Xcode 10 to Xcode 9 for the same processes:
CPU
SeeTest CPU metrics data correlates to the Activity Monitor Instrument - '% CPU' column
Total CPU is calculated as the sum of all processes CPU usage, the result might be higher than 100%, depending on the number of CPU Cores for the specific device.
Until version 11.9, SeeTest normalized the CPU results to be similar to Android Results (values are between 0 to 100 percent). Since SeeTest 12.0 we do not normalize the CPU results in order to comply with Apple's tools You may revert back to the old behavior by using the property 'ios.11.use.old.monitoring.service' but this will remove the support for non-development applications
Battery Usage
SeeTest Battery Usage metrics data correlates to the Xcode Energy Gauge.
We provide data on the following parameters: CPU, GPU, Location, Network, and Overhead.