Sha256: f440eb46be16b1bfa72ae8e8cd0292f40ecdf7edfd129e4fba5669c7e7190ecd

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

# Stackflame

Stackflame provides a simple API to deal with Flamegraph of [stackprof](https://github.com/tmm1/stackprof).

## Installation

```bash
$ gem install stackflame
```

## Usage

```ruby
require "stackflame"

Stackflame.profile do
  # some code to profile
  100.times { User.create }
end
```

If you use OSX, flamegraph will be opened with your default browser.

![](http://i.gyazo.com/47871c2de985298c61d0fcca041a34d0.png)

## License

MIT License

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stackflame-0.1.0 README.md
stackflame-0.0.1 README.md