Skip to content

A simple tool to generate FlameGraphs from Xcode Instruments traces ๐Ÿ”ฅ๐Ÿ“Š

License

Notifications You must be signed in to change notification settings

jerrydudu/FlameGraph

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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>

About

A simple tool to generate FlameGraphs from Xcode Instruments traces ๐Ÿ”ฅ๐Ÿ“Š

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%