[stdlib] Improvements to experimental_slice_flattened This table was introduced in Id63fbc407fbc8bc9fff12f7bc102eeccfcfd8381. This change improves the query performance by avoiding a JOIN with ANCESTOR_SLICE. It also skips instant events from the 'flattened' slices. Lastly, we move this to a new module 'flat_slices' to not regress the load performance of the more commmonly used 'slices' module. Test: Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell --name-filter '.*slice_flattened.*' Change-Id: If9faae38e4baae7b06c3d57b92ad13dd341b8494
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.