Export Instrument's traces to JSON format
USAGE: trace2json [--process <process>] [--pid <pid>] [--pretty] [--show-unsupported] [--output <output>] <path>
ARGUMENTS:
<path> Path to .trace to parse.
OPTIONS:
--process <process> Process Name to filter when available.
--pid <pid> Process PID to filter when available.
--pretty Enable JSON pretty print.
-s, --show-unsupported Show unsupported instruments in output JSON.
-o, --output <output> Output path.
-h, --help Show help information.
- Xcode 11 and up
- MacOS 10.14+
- Xcode installed at path
/Applications/Xcode.app
- Cleanup code
- Add more instruments
- Activity Monitor
- Core Animation FPS
- Network Connections
- Leaks
- Allocations
- CPU Activity Impact
- Doesn't work with Xcode 12 but you can use the new CLI
xtrace
for this
Trace2JSON is developed by Itay Brenner.