Sha256: a5941909b035e8fc6ece2df79887075212770e500cccdf90e1c229275a595d32
Contents?: true
Size: 452 Bytes
Versions: 17
Compression:
Stored size: 452 Bytes
Contents
require 'rubyXL' require 'benchmark' spreadsheets = Dir.glob(File.join("test", "input", "*.xls?")).sort! spreadsheets.each { |input| puts "<<<--- Parsing #{input}..." doc = nil tm = Benchmark.realtime { doc = RubyXL::Parser.parse(input) } puts "Elapsed: #{tm} sec" output = File.join("test", "output", File.basename(input)) puts "--->>> Writing #{output}..." tm = Benchmark.realtime { doc.write(output) } puts "Elapsed: #{tm} sec" }
Version data entries
17 entries across 17 versions & 1 rubygems