Sha256: d3327447bb700df1bc0afb6d9335d442d1e8a52e0196da90cfe07cd4be7d8a73
Contents?: true
Size: 467 Bytes
Versions: 51
Compression:
Stored size: 467 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
51 entries across 51 versions & 2 rubygems