lib/asciidoctor/timings.rb in asciidoctor-1.5.2 vs lib/asciidoctor/timings.rb in asciidoctor-1.5.3

- old
+ new

@@ -30,11 +30,11 @@ (time = (@log[:read] || 0) + (@log[:parse] || 0) + (@log[:convert] || 0) + (@log[:write] || 0)) > 0 ? time : nil end def print_report to = $stdout, subject = nil to.puts %(Input file: #{subject}) if subject - to.puts %( Time to read and parse source: #{'%05.5f' % read_parse.to_i}) - to.puts %( Time to convert document: #{'%05.5f' % convert.to_i}) - to.puts %( Total time (read, parse and convert): #{'%05.5f' % read_parse_convert.to_i}) + to.puts %( Time to read and parse source: #{'%05.5f' % read_parse.to_f}) + to.puts %( Time to convert document: #{'%05.5f' % convert.to_f}) + to.puts %( Total time (read, parse and convert): #{'%05.5f' % read_parse_convert.to_f}) end end end