bench/profiler_runner.rb in xmlss-0.4.1 vs bench/profiler_runner.rb in xmlss-1.0.0.rc.1
- old
+ new
@@ -24,10 +24,10 @@
end
}
end
@result = RubyProf.profile do
- Xmlss::Workbook.new(:output => {:pp => 2}, &build).to_file("./bench/profiler_#{n}.xml")
+ Xmlss::Workbook.new(Xmlss::Writer.new(:pp => 2), &build).to_file("./bench/profiler_#{n}.xml")
end
end
def print_flat(outstream, opts={})