Work in Progress
A CommandLine tool to generate FlameGraphs from Xcode Instruments traces
An example FlameGraph for the -[AppDelegate application:didFinishLaunchingWithOptions:]
method of the Wikipedia iOS App:
$ mint install lennet/FlameGraph
$ git clone https://github.com/lennet/FlameGraph.git
$ cd FlameGraph
$ swift run FlameGraph <args>
- Run Time Profiler in Instruments
- Select Thread and region you are interested in
- Edit > Deep copy β§βC
$ FlameGraph <OutputPath.pdf>