commit | 3a63616502fc00f62c103d295ce7ea0700c8ea3e | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Tue Apr 23 19:31:45 2024 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Tue Apr 23 19:31:45 2024 +0100 |
tree | 72d1d3b7784d9c07ffe277f1573ab9f5f624d1fd | |
parent | 8ae4c8664cc1d6e3e7dc0cd20ceeb78f6bcce4e5 [diff] |
ui: overhaul track decider queries to make things faster This CL overhauls a bunch of queries in track_decider to improve load performance. Specifically, the main thing we are doing is extracting a bunch of O(event) queries into the standard library and compute a summary over each of the event tables exactly once. This significantly reduces the amount of redundant computation that needs to be performed. Change-Id: I49c07f681c7128cf37852ad66a8a2a8e2e17b2b5
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.