Skip to content
A simple tool to generate FlameGraphs from Xcode Instruments traces πŸ”₯πŸ“Š
Swift
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources
Tests
example
.gitignore
.travis.yml
LICENSE
Package.resolved
Package.swift
README.md

README.md

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

$ 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>
You can’t perform that action at this time.