Questions tagged [systrace]

The systrace tool helps analyze the performance of an Android application.

The systrace tool helps analyze the performance of your application by capturing and displaying execution times of your applications processes and other Android system processes.

The tool combines data from the Android kernel such as the CPU scheduler, disk activity and application threads to generate an HTML report that shows an overall picture of an Android device’s system processes for a given period of time.

More info at the android developers help page.

153 questions
0
votes
2 answers

What does Self Time stand for in Android systrace?

While selecting any slice in an android systrace, I see a value for self time. What does self time mean?
pacific
  • 15
  • 6
0
votes
1 answer

RecyclerView OnLayout takes too long, issue with performance

I have a fragment (part of jetpack navigation graph) with RecyclerView (it's a 2 by 10 vertical grid), 1 card is ConstraintLayout (1 TextView Title and 2 TextView SubTitle + 1 ImageView 64x64dp, using pngs approx 10kb each) Problem is the frame…
toasty
  • 142
  • 1
  • 1
  • 10
0
votes
1 answer

Can anyone help me to find the UI rendering time in perfetto/systrace?

I am trying to find the UI rendering time for each Activity in android. I come to know that can analyses the performance using of systrace or perfetto. But the problem is find the UI rendering part from that huge graph. Can any one help me to find…
0
votes
1 answer

How to find the package name of React Native App

I'm trying to profiling my React Native App (created by Expo CLI) by using systrace. I followed this tutorial https://facebook.github.io/react-native/docs/performance#profiling and I knew how to run systrace with this line of code:…
0
votes
1 answer

unable to convert systrace to html using puthon2 and git

after taking systrace using adb , unable to convert in html file in android pie device MX0004117@MMXITD0210-106 MINGW64 ~ $ git clone https://github.com/catapult-project/catapult.git fatal: destination path 'catapult' already exists and is not an…
0
votes
1 answer

React Native - Why using the Systrace API?

There is no documentation for Systrace api here. Why using the Systrace API? A little example case will be more appreciated. Thanks !!!
Stack Overflow
  • 1
  • 5
  • 23
  • 51
0
votes
0 answers

cannot trace frames rendered from another thread

Our company develops several games for mobile platforms, including Android. We use OpenGL for all visual items, including UI (more technical details are below). We have received some weird warnings from Google Play Console in Pre-launch report, like…
0
votes
1 answer

systrace error: Bad file descriptor (9)

Short description: Actually sometimes tracing with systrace working, but only if I doesn't do anything with my application. If i try to do some normal user actions, trace saving process will end up with error. Error message: Unexpected error while…
Ruslan
  • 355
  • 1
  • 14
0
votes
1 answer

android systrace close_fds error

I am getting the following error when I try to run systrace in android. "ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr" Did anyone else face this issue? Stack…
user3294816
  • 37
  • 1
  • 7
0
votes
0 answers

atrace events: how to make them visible in systrace?

Good day everyone! I am pretty new to android profiling. And recently I have found, that systrace from google sdk call atrace. I also found that there is a set of functions from libcutils, which one could use for creating atrace events and in such…
Anima
  • 1
  • 1
0
votes
1 answer

How to address Android systrace generate html file errors?

I play with systrace follow the official guide I can't select frame, the error in console shows like this. I think it is a chrome compatible issues
Gohan
  • 2,422
  • 2
  • 26
  • 45
0
votes
1 answer

How tracing count a frame

I use tracing on chrome to analyze a file captured from an android device using systrace.And I want to know how tracing count a frame and mark it to diffenrent type.I have got tracing source code in github,but it seem don't include this function…
Axl Echo
  • 1
  • 2
0
votes
0 answers

Running systrace directly from target device

On our boards, USB is not yet up. We are experiencing some frame drop issues while doing video playback and we would like to see whats happening using systrace. Now, I have used systrace, but, with adb and related functionality working. Is it…
0
votes
1 answer

GLthread and RenderThread in systrace

When i see the systrace for gallery app,I see two threads in the gallery process - GLthread and RenderThread. How are these two different?
Vishal Chand
  • 11
  • 1
  • 3
0
votes
0 answers

analyzing time from systrace html file

Below is the some part of systrace generated html file. Here i want either start time and finish time of Listview or direct loading time of ListView of a process. I can see the time when i open html file in browser but how can i read it from its…
Gaurang Rokad
  • 37
  • 1
  • 2
  • 6