Android Studio ‘Systrace’ tool to monitor performance will be integrated into Android P


[ad_1]

Unless you’re an app developer, you’ve probably never heard of system trace before. It’s short for “System Trace”, and it’s a feature built into Google’s IDE, Android Studio. The goal of systrace is to give developers the ability to collect and inspect synchronization information about all system-level processes running on a given device, which can be very useful in visualizing system resource usage. . Now there is evidence that it is coming to Android P.

A commit in the Android Open Source Gerrit project shows Google’s build system in the next major version of Android. As we can see here, it will be added as an app and appear in the hidden settings menu of the developer’s options. Developers who use it often will be happy to know that it will also appear as a Quick Settings tile.

The systrace-generated report provides an overall picture of the system processes of an Android device during a given period. It doesn’t actually collect information about code execution in the process of an app – there are other tools in Android Studio (such as the processor profiler or the “generate trace logs” tool) which show what methods an application is executing and how much CPU resources it is using. Nonetheless, it can be very useful during development, as it collects Android kernel data, such as CPU scheduler, disk activity, and application threads, and combines them into a convenient HTML report.

Developers can leverage it to see what resources are being used while the tool is running. Systrace will inspect the captured tracing information and highlight any issues it observes, which may include (but not limited to) a UI jank when displaying motions or animations. It will even provide recommendations on how to troubleshoot issues.

One thing is for sure: Assuming this new app makes its way into user versions of Android P, it will be a godsend for bug testing.

[ad_2]

Comments are closed.