Sha256: 83bf6780b95fe331d3b0dd7ff430cfad62ac6e9ba7682298a729450c043b806d
Contents?: true
Size: 526 Bytes
Versions: 4
Compression:
Stored size: 526 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) ### Rack middlware ```ruby use Rack::Stackflame, interval: 10 ``` ## License MIT License
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
stackflame-0.2.5 | README.md |
stackflame-0.2.4 | README.md |
stackflame-0.2.1 | README.md |
stackflame-0.2.0 | README.md |