Sha256: ee14c431fa2d877db43e919775b4c00f13c13f272a8b30d659f472a176576991
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
#!/usr/bin/env ruby -s $:.unshift "#{File.dirname(__FILE__)}/../lib" require 'axlsx' require 'ruby-prof' #RubyProf.measure_mode = RubyProf::MEMORY # row = [] # Taking worst case scenario of all string data input = (32..126).to_a.pack('U*').chars.to_a 20.times { row << input.shuffle.join} profile = RubyProf.profile do p = Axlsx::Package.new p.workbook.add_worksheet do |sheet| 10000.times do sheet << row end end p.to_stream end printer = RubyProf::FlatPrinter.new(profile) printer.print(STDOUT, {})
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caxlsx-3.2.0 | test/profile.rb |