Sha256: d92e6db2f8dac273a9d447e8ec278c1bbffbc98c3c2c6c3c52836b9d157b672e

Contents?: true

Size: 348 Bytes

Versions: 43

Compression:

Stored size: 348 Bytes

Contents

require 'xml'

1.times do |count|

  xml_doc = XML::Document.new()
  xml_doc.encoding = "UTF-8"
  xml_doc.root = XML::Node.new("Request")

  1000.times do |index|
    xml_doc.root << node = XML::Node.new("row")
    node["user_id"] = index.to_s
    node << "600445"
  end

  xml_str = xml_doc.to_s
  print "\r#{count}"
  $stdout.flush
end
puts "\n"

Version data entries

43 entries across 43 versions & 7 rubygems

Version Path
libxml-jruby-modified-1.0.2-jruby test/etc_doc_to_s.rb
libxml-jruby-modified-1.0.1-jruby test/etc_doc_to_s.rb
libxml-fixed-jruby-1.0.0-jruby test/etc_doc_to_s.rb
libxml-jruby-fixed-1.0.0-jruby test/etc_doc_to_s.rb
libxml-ruby-r19mingw-1.1.4 test/etc_doc_to_s.rb
libxml-ruby-1.1.4 test/etc_doc_to_s.rb
libxml-ruby-1.1.4-x86-mswin32-60 test/etc_doc_to_s.rb
coupa-libxml-ruby-1.1.4 test/etc_doc_to_s.rb
libxml-jruby-1.0.0 test/etc_doc_to_s.rb
libxml-ruby-0.8.2-x86-mswin32-60 test/etc_doc_to_s.rb
libxml-ruby-0.8.2 test/etc_doc_to_s.rb
libxml-ruby-0.9.1 test/etc_doc_to_s.rb
libxml-ruby-0.9.0-x86-mswin32-60 test/etc_doc_to_s.rb
libxml-ruby-0.9.2 test/etc_doc_to_s.rb
libxml-ruby-0.9.0 test/etc_doc_to_s.rb
libxml-ruby-0.8.3-x86-mswin32-60 test/etc_doc_to_s.rb
libxml-ruby-0.8.3 test/etc_doc_to_s.rb
libxml-ruby-0.9.3-x86-mswin32-60 test/etc_doc_to_s.rb
libxml-ruby-0.9.1-x86-mswin32-60 test/etc_doc_to_s.rb
libxml-ruby-0.9.2-x86-mswin32-60 test/etc_doc_to_s.rb