Skip to content

Commit 783b9cc

Browse files
committed
Merge branch 'master' into filtering
2 parents d8c1b79 + 2c3bc8a commit 783b9cc

5 files changed

Lines changed: 17 additions & 9 deletions

File tree

CHANGELOG

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@
2323
- 0.0.6
2424
- Better analysis with stackprof on ruby 2.1
2525
- New window displaying the backtrace when clicking on element
26+
27+
13-May-2016
28+
29+
- 0.9.5
30+
- Corrected issues with stackprof based profiling
31+
- Update d3
32+
- When clicking on a frame there is a window that shows more info
33+
- Highlighting a gem highlights all the areas it is used

lib/flamegraph/d3.min.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flamegraph/flamegraph.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ <h3>Frame Info</h3>
268268
var nodes = [];
269269
$.each(frames, function(i,f) {
270270
var i = info[f];
271-
nodes = nodes.concat(i.nodes);
271+
nodes = nodes.concat(i.nodes);
272272
});
273273
return nodes;
274274
};
@@ -314,7 +314,7 @@ <h3>Frame Info</h3>
314314

315315
var linkify = function(path){
316316
var split = path.split("/")[0].split("-");
317-
if(["activerecord","actionpack","railties","activesupport", "rails"].indexOf(split[0]) > -1) {
317+
if(["actionview","activerecord","actionpack","railties","activesupport", "rails"].indexOf(split[0]) > -1) {
318318
var github = "https://github.com/rails/rails/blob/";
319319
var file = path.split(":")[0].split("/");
320320
if(split[0] === "rails") {
@@ -525,7 +525,6 @@ <h3>Frame Info</h3>
525525
});
526526

527527

528-
529528
</script>
530529
</body>
531530
</html>

lib/flamegraph/renderer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def graph_html(embed_resources)
1313
embed("jquery.min.js","d3.min.js","lodash.min.js")
1414
else
1515
'<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
16-
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.0.8/d3.min.js"></script>
16+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
1717
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.3.1/lodash.min.js"></script>'
1818
end
1919

lib/flamegraph/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Flamegraph
2-
VERSION = "0.1.0"
2+
VERSION = "0.9.5"
33
end

0 commit comments

Comments
 (0)