commit | 1c92a3c4b57e588e2ff4785aa05162f096adc227 | [log] [tgz] |
---|---|---|
author | Samuel Wu <wusamuel@google.com> | Fri Jul 19 11:59:37 2024 -0700 |
committer | Samuel Wu <wusamuel@google.com> | Wed Jul 24 10:26:46 2024 -0700 |
tree | e5774c1054cffde28ebbc6a359e1419decccb18e | |
parent | bca707edfa059c592e3dd11e59aada718d5aeb2a [diff] |
ui: Improve runtime of CPU by thread/process Improve UI runtime of "CPU by thread" and "CPU by process" by doing the thread/process association onetime upfront, instead of re-generating the table every iteration a UI selection changes. UI Profiling (cumulative sum): CPU by thread: ~7s -> ~6s CPU by process: ~10s -> ~7s Wattson by thread: ~16s -> ~15s Wattson by process: ~30s -> ~30s Bug: 354256369 Change-Id: I931b4ec2098a154658d412d2315bd0cd278a3aa7 Signed-off-by: Samuel Wu <wusamuel@google.com>
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.