[ui] Add improved bar chart to the table viewer. (#1347) The new bar chart fetches the necessary values itself from the SQL instead of relying all of rows to be passed to it, which makes it much more suitable for large data-sets. It also shows a popup on click, showing the user the % figure of the value and allows adding filters. This patch is based on https://android-review.googlesource.com/c/platform/external/perfetto/+/3517372. Bug: 395565690
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.