-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Is your feature request related to a problem? Please describe.
The TraceX GUI only supports Windows. There are existing web-based trace visualization tools that could be leveraged to visualize TraceX traces with platform interoperability. Some of these tools provide additional analysis features.
Describe the solution you'd like
Conversion from the TraceX binary dump into a Chrome JSON trace format and/or Perfetto protobuf format for interoperability with existing tools.
Perfetto is a feature-rich GUI for time traces which supports both of these formats. In addition to trace visualization, it also supports querying events with SQL.
Describe alternatives you've considered
Other tools in this space include Speedscope: https://www.speedscope.app, Firefox profiler: https://profiler.firefox.com, the legacy Chrome profiler: chrome://tracing, and PProf: https://github.com/google/pprof (mainly for sampling profiles)
Writing a plugin or natively integrating support for loading tracex dumps into these applications could be an option as well.
Additional context
Proof-of-concept using the tracex_parser python package to convert to Chrome JSON format to load in Perfetto: https://gist.github.com/neilisaac/4c8dfcfe10da0e75a8945c71356bcd09