Add trace metric to root cause jank in SysUI CUJs Detects a few common jank root causes with the following caveats: * We do not use VSYNC-app counter to determine the start of the frame. Instead we assume the frame starts with Choreographer#doFrame * Thresholds for jank causes have to be adjusted * SQL query runtime seems quite high so it has to be optimized Bug: 161781469 Test: tools/diff_test_trace_processor.py + manual Change-Id: I343b46e700babac95535244f797c0f7b04d9dd5c
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.