flamegraph 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flamegraph.rb +2 -2
- data/lib/flamegraph/flamegraph.html +1 -1
- data/lib/flamegraph/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ba4b99efd848cf7163638ecd6be70e0c147cdeb
|
4
|
+
data.tar.gz: 78fa3397d5639d092f31782dbc4a85ddeb75fea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d422d47a2ce53bcd716b66e3e541d5bca57ecb6d667853097a11c60e946d1b66e4e4b419619f1fb7fe65c16b230f0a168f0dca62fef1bb5340d18ca1ac248ca
|
7
|
+
data.tar.gz: 4eeec71e79899c7d167326960d9109b2af003ef04f853c0369a215073f3b108b1e3306a13f70a4b478b372c74b7a1dab2619858b04f17c7617dae511b5cc9a39
|
data/lib/flamegraph.rb
CHANGED
@@ -3,14 +3,14 @@ require "json"
|
|
3
3
|
if RUBY_VERSION >= "2.1.0".freeze
|
4
4
|
begin
|
5
5
|
require "stackprof"
|
6
|
-
rescue
|
6
|
+
rescue LoadError
|
7
7
|
STDERR.puts "Please require the stackprof gem falling back to fast_stack"
|
8
8
|
require "fast_stack"
|
9
9
|
end
|
10
10
|
else
|
11
11
|
begin
|
12
12
|
require "fast_stack"
|
13
|
-
rescue
|
13
|
+
rescue LoadError
|
14
14
|
STDERR.puts "Please require the fast_stack gem, note flamegraph is only supported on Ruby 2.0 and above"
|
15
15
|
end
|
16
16
|
end
|
@@ -466,9 +466,9 @@ svg.selectAll("g")
|
|
466
466
|
.append("text")
|
467
467
|
.attr("x",function(d) { return xScale(d.x - 0.98); })
|
468
468
|
.attr("y",function(d) { return yScale(maxY - d.y);})
|
469
|
+
.on("click", click)
|
469
470
|
.on("mouseover", mouseover)
|
470
471
|
.on("mouseout", mouseout)
|
471
|
-
.on("click", click)
|
472
472
|
.each(fontSize)
|
473
473
|
.attr("cursor", "pointer")
|
474
474
|
.attr("display", "none");
|
data/lib/flamegraph/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flamegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_stack
|