commit | 8f951c50777f6c206711d65c54742da6ea2f45aa | [log] [tgz] |
---|---|---|
author | Marcin Oczeretko <marcinoc@google.com> | Fri Nov 06 10:29:36 2020 +0000 |
committer | Marcin Oczeretko <marcinoc@google.com> | Tue Nov 10 11:25:35 2020 +0000 |
tree | 20da160422440e6727c8a80cdeb36b062e8109ca | |
parent | 952ef3e0647215edbae15a45fe4cabc4b33ddd69 [diff] |
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.