bin/stackprof in stackprof-0.2.19 vs bin/stackprof in stackprof-0.2.20
- old
+ new
@@ -40,10 +40,10 @@
reports = []
while ARGV.size > 0
begin
file = ARGV.pop
- reports << StackProf::Report.new(Marshal.load(IO.binread(file)))
+ reports << StackProf::Report.from_file(file)
rescue TypeError => e
STDERR.puts "** error parsing #{file}: #{e.inspect}"
end
end
report = reports.inject(:+)