Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: required

services:
- docker

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GEM
mocha (0.14.0)
metaclass (~> 0.0.1)
rake (10.3.2)
rake-compiler (0.9.3)
rake-compiler (1.0.8)
rake

PLATFORMS
Expand All @@ -20,7 +20,7 @@ PLATFORMS
DEPENDENCIES
minitest (~> 5.0)
mocha (~> 0.14)
rake-compiler (~> 0.9)
rake-compiler (~> 1.0)
stackprof!

BUNDLED WITH
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Stackprof

[![Build Status](https://travis-ci.org/tmm1/stackprof.svg?branch=master)](https://travis-ci.org/tmm1/stackprof)
[![Gem Version](https://badge.fury.io/rb/stackprof.svg)](https://badge.fury.io/rb/stackprof)

A sampling call-stack profiler for Ruby.

Inspired heavily by [gperftools](https://code.google.com/p/gperftools/), and written as a replacement for [perftools.rb](https://github.com/tmm1/perftools.rb).
Expand Down Expand Up @@ -95,7 +98,7 @@ $ stackprof --flamegraph-viewer=tmp/flamegraph

The `--flamegraph-viewer` command will output the exact shell command you need to run to open the `tmp/flamegraph` you generated with the built in stackprof flamegraph viewer:

![](http://i.imgur.com/EwndrgD.png)
![](https://i.imgur.com/EwndrgD.png)

Alternatively, you can generate a flamegraph that uses [d3-flame-graph](https://github.com/spiermar/d3-flame-graph):

Expand Down Expand Up @@ -211,7 +214,7 @@ multiple reporting modes are supported:

### `StackProf::Report.new(data).print_graphviz`

![](http://cl.ly/image/2t3l2q0l0B0A/content)
![](https://cl.ly/image/2t3l2q0l0B0A/content)

```
digraph profile {
Expand Down
6 changes: 4 additions & 2 deletions stackprof.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = 'stackprof'
s.version = '0.2.13'
s.homepage = 'http://github.com/tmm1/stackprof'
s.homepage = 'https://github.com/tmm1/stackprof'

s.authors = 'Aman Gupta'
s.email = 'aman@tmm1.net'
Expand All @@ -19,7 +19,9 @@ Gem::Specification.new do |s|

s.license = 'MIT'

s.add_development_dependency 'rake-compiler', '~> 0.9'
s.required_ruby_version = '>= 2.1.0'

s.add_development_dependency 'rake-compiler', '~> 1.0'
s.add_development_dependency 'mocha', '~> 0.14'
s.add_development_dependency 'minitest', '~> 5.0'
end