It could have been better if you explained some examples, like how to measure layout performance. Full of info made this series not so interesting. Please work on this because this series is the most important for Android Development.
How to know what might be causing UI to lag with fragments and Navigation Component for a case where no data is being fetched from the server/local database? Seems that view inflation itself slows down the transition animations for the very first time, but once a navigation animation is completed, it runs smoothly for the second time. Fragments only have one ConstraintLayout inside a CardView so that might not actually be an issue related to Flat View Hierarchy 🤔
There needs to be a pure setup version of this for windows. The hardware isn't correctly connecting to the device and is requesting to adb kill-server 1st and retry... Not explained in terms of troubleshooting in either video posted for perfetto... edit - figured it out: You need to: connect the device adb devices to confirm it's there adb kill-server press to Start Recording on the Perfetto ui page This will prompt your device to allow debugging as it's sent from the webpage. You should now be able to record traces as listed in the video.
It could have been better if you explained some examples, like how to measure layout performance. Full of info made this series not so interesting. Please work on this because this series is the most important for Android Development.
How to know what might be causing UI to lag with fragments and Navigation Component for a case where no data is being fetched from the server/local database? Seems that view inflation itself slows down the transition animations for the very first time, but once a navigation animation is completed, it runs smoothly for the second time. Fragments only have one ConstraintLayout inside a CardView so that might not actually be an issue related to Flat View Hierarchy 🤔
Great series. At least now some people will focus on measuring and optimising things rather than just picking anything and writing code
Is there a documented "color code" that is used to display various items?
This tool is very complete!
The "Expected Timeline" under the system_server is available in the Android 9 as well? I don't see if in a trace that I collected.
There needs to be a pure setup version of this for windows. The hardware isn't correctly connecting to the device and is requesting to adb kill-server 1st and retry... Not explained in terms of troubleshooting in either video posted for perfetto...
edit - figured it out:
You need to:
connect the device
adb devices to confirm it's there
adb kill-server
press to Start Recording on the Perfetto ui page
This will prompt your device to allow debugging as it's sent from the webpage. You should now be able to record traces as listed in the video.
I love it
Very very nice thisl.👍
How do I approach Google for help.
Deleting my previous comment seems like I am fraud.
That's Great Perfetto - MAD Skills. Android Development was get easily. #android #google #developers