Sha256: e263bd44e2d77344e7e7ae9fe3c3562f0cc5f171304690cf8c2d85645de9bd80

Contents?: true

Size: 404 Bytes

Versions: 45

Compression:

Stored size: 404 Bytes

Contents

# encoding: UTF-8

require './test_helper'

100.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

45 entries across 45 versions & 2 rubygems

Version Path
libxml-ruby-2.0.3 test/ets_doc_to_s.rb
libxml-ruby-2.0.2-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.0.2 test/ets_doc_to_s.rb
libxml-ruby-2.0.0-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.0.0 test/ets_doc_to_s.rb