ui: utilise segment forest to improve slice tracks on large traces
This CL introduces the use of the segment forest to significantly speed
up the queries of slice tracks on large traces. Specifically the data
structure is exposed to Typescript via the use of a new "SliceMipmap"
trace processor operator.
This CL only ports base_slice_track to the operator: other tracks will
be ported in followup CLs.
Change-Id: Icf5d5a620b01dece7b102f9bdae181db0ee145fc
diff --git a/Android.bp b/Android.bp
index 6a37b92..e435f99 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12291,6 +12291,7 @@
name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_operators",
srcs: [
"src/trace_processor/perfetto_sql/intrinsics/operators/counter_mipmap_operator.cc",
+ "src/trace_processor/perfetto_sql/intrinsics/operators/slice_mipmap_operator.cc",
"src/trace_processor/perfetto_sql/intrinsics/operators/span_join_operator.cc",
"src/trace_processor/perfetto_sql/intrinsics/operators/window_operator.cc",
],