Made some memory optimizations to help improve the sluggishness in WPA when viewing large traces. Memory optimizations reduce memory usage by about 50%. UI is more responsive now. Optimizations include
Used string interning on the high-count string fields
Switched the variable length argument fields from List to string[]
Changed bunch of longs to ints. These are mostly ID fields. Confirmed they are int or smaller within Perfetto
Table renaming
Removed redundant "Perfetto" from all tables and column config names
Added column configs that graph by StartTime instead of duration for GenericEvents
Made some memory optimizations to help improve the sluggishness in WPA when viewing large traces. Memory optimizations reduce memory usage by about 50%. UI is more responsive now. Optimizations include
Table renaming