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>