Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.08 KB

FlameGraph

Travis status Swift Package Manager

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: Example output

Installation

$ mint install lennet/FlameGraph

Swift Package Manager

$ git clone https://github.com/lennet/FlameGraph.git
$ cd FlameGraph
$ swift run FlameGraph <args>

Usage

  1. Run Time Profiler in Instruments
  2. Select Thread and region you are interested in
  3. Edit > Deep copy ⇧⌘C
  4. $ FlameGraph <OutputPath.pdf>