Sha256: b7c50b9c81b84fe77450804e9c317d5e8af29115b2b5fe08f703bf02f774e2eb

Contents?: true

Size: 468 Bytes

Versions: 17

Compression:

Stored size: 468 Bytes

Contents

require 'rubyXL'
require 'benchmark'

spreadsheets = Dir.glob(File.join("test", "input", "*.xlsx")).sort!

spreadsheets.each { |input|
  print "<<<--- Parsing #{input}..."
  doc = nil
  tm = Benchmark.realtime { doc = RubyXL::Parser.parse(input) }
  puts "Elapsed: #{tm} sec"
  output = File.join("test", "output", File.basename(input))
  print "--->>> Writing #{output}..."
  tm = Benchmark.realtime { doc.write(output) }
  puts "Elapsed: #{tm} sec"
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rubyXL-2.5.5 test/test_parse_write.rb
rubyXL-2.5.4 test/test_parse_write.rb
rubyXL-2.5.3 test/test_parse_write.rb
rubyXL-2.5.2 test/test_parse_write.rb
rubyXL-2.5.1 test/test_parse_write.rb
rubyXL-2.5.0 test/test_parse_write.rb
rubyXL-2.4.4 test/test_parse_write.rb
rubyXL-2.4.3 test/test_parse_write.rb
rubyXL-2.4.2 test/test_parse_write.rb
rubyXL-2.4.1 test/test_parse_write.rb
rubyXL-2.4.0 test/test_parse_write.rb
rubyXL-2.3.4 test/test_parse_write.rb
rubyXL-2.3.3 test/test_parse_write.rb
rubyXL-2.3.2 test/test_parse_write.rb
rubyXL-2.3.1 test/test_parse_write.rb
rubyXL-2.3.0 test/test_parse_write.rb
rubyXL-2.2.0 test/test_parse_write.rb