Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get react native app profile, systrace has been remove in platform-tools #3679

Open
zenHeart opened this issue Apr 11, 2023 · 2 comments
Labels
👋 Good first issue Interested in collaborating? Take a stab at fixing one of these issues. 📼 Outdated Docs Documentation is there, but outdated or wrong.

Comments

@zenHeart
Copy link

zenHeart commented Apr 11, 2023

Description

read Collecting a trace , but systrace has been remove in platform-tools , see this platform tools log , we should update this document, how to Collecting a trace in react native in adroid?

Documentation version

next

@cortinico
Copy link
Contributor

how to Collecting a trace in react native in adroid?

As suggested in the page you linked, you can use the Android Studio Profiler (which is basically a UI for systrace). And yes, we should update the page you linked.

This is up for grab if someone wants to help us improve the website

@cortinico cortinico added 👋 Good first issue Interested in collaborating? Take a stab at fixing one of these issues. 📼 Outdated Docs Documentation is there, but outdated or wrong. labels Apr 11, 2023
@zenHeart
Copy link
Author

Use usb to link device to adroid studio, click view -> Tool window -> Profiler
I get System trace recording like this
image

but how to get js thread performane like chrome performance panel or how to use android sutdio profiler to help understand
react native performance ,i can't find relative docs in react native website.
i read

  • profile-hermes fail the cpuprofile is empty, and can't work when page reload, i want get rn page First Meaningful Paint js thread trace
  • react-devtools also can't get page First Meaningful Paint
    trace

so is there other document to help me catch rn page First Meaningful Paint js thread trace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👋 Good first issue Interested in collaborating? Take a stab at fixing one of these issues. 📼 Outdated Docs Documentation is there, but outdated or wrong.
Projects
None yet
Development

No branches or pull requests

2 participants