sample.rb in stackprof-0.2.7 vs sample.rb in stackprof-0.2.8
- old
+ new
@@ -32,10 +32,10 @@
end
end
result = StackProf::Report.new(profile)
puts
-result.print_source(/pow|newobj|math/)
+result.print_method(/pow|newobj|math/)
puts
result.print_text
puts
result.print_graphviz
puts