Young hard life matter, mo to the time idle cungong.

Perfetto’s present and future?

Currently Perfetto is a complete replacement for Systrace, providing a superset of functions. In the future, Perfetto can be used as most of the performance tools, and knowing just one tool is enough to solve most of the problems.

Why is Perfetto the future?

Perfetto provides super interface operation configuration function, you can say goodbye to command input, import and export a series of tedious operations, debugging analysis is more convenient; The feature set is more powerful, providing performance analysis for Android, Chrome, Linux, etc. Analysis jump more reasonable, fast positioning. There is an amazing feeling.

FAQ tips?

If clicking on Perfetto UI doesn’t work anywhere, you need to update Chrome!

Perfetto UIField experience

(1) The whole navigation body bar

  • Navigation: File Navigation options:

Open Trace file: import a protobuf file (generated using Perfetto). Open with Legacy UI: Import a Systrace file (generated using Systrace). Record New Trace: Perfetto UI records protobuf files (covered separately later)

  • Current Trace: indicates the Current Trace option

Legacy UI: Open the Systrace report. Query(SQL) : Enter the SQL command to filter information

  • Example Traces

Open Android example: Open Chrome example: Open Chrome example

  • Metrics and auditors
  • Support: indicates a Support item

Controls analyze panel control types for Documentation interpretation, Report a bug, and post your bug

  • Bottom Action: Bottom support function

Toggle Perf Debug Modle: Toggle the performance debugging mode Number of pending SQL queries: Number of PENDING SQL queries service worker: cache offline service

(2) Record protobuf files




(3) Analyze interface control commands

(4) Select the level information of the event

(5) Select the analysis interface to view details

Let’s explore and discover new highlights…

Xiaobian extension links

  • SamplePop code download
  • Android Performance Optimization family Bucket

Refer to the link

  • New tools and new experiences for Perfetto

Late jiangshanli, spring breeze flowers and fragrant

❤ ❤ than heart