Sha256: 7abd9b17329dbd62f2a4db1452d18ef95cc23dd01c783b0f40f252b1c79a4607

Contents?: true

Size: 398 Bytes

Versions: 45

Compression:

Stored size: 398 Bytes

Contents

# encoding: UTF-8

require './test_helper'

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

45 entries across 45 versions & 2 rubygems

Version Path
smile-xml-1.0.5-java src/test/ruby/etc_doc_to_s.rb
smile-xml-1.0.4-java src/test/ruby/etc_doc_to_s.rb
libxml-ruby-2.8.0 test/etc_doc_to_s.rb
smile-xml-1.0.3-java src/test/ruby/etc_doc_to_s.rb
libxml-ruby-2.7.0-x86-mingw32 test/etc_doc_to_s.rb
libxml-ruby-2.7.0 test/etc_doc_to_s.rb
smile-xml-1.0.3-jruby src/test/ruby/etc_doc_to_s.rb
libxml-ruby-2.6.0-x86-mingw32 test/etc_doc_to_s.rb
libxml-ruby-2.6.0 test/etc_doc_to_s.rb
libxml-ruby-2.5.0-x86-mingw32 test/etc_doc_to_s.rb
libxml-ruby-2.5.0 test/etc_doc_to_s.rb
libxml-ruby-2.4.0-x86-mingw32 test/etc_doc_to_s.rb
libxml-ruby-2.4.0 test/etc_doc_to_s.rb
smile-xml-1.0.2-jruby src/test/ruby/etc_doc_to_s.rb
libxml-ruby-2.3.3-x86-mingw32 test/etc_doc_to_s.rb
libxml-ruby-2.3.3 test/etc_doc_to_s.rb
libxml-ruby-2.3.2 test/etc_doc_to_s.rb
libxml-ruby-2.3.0-x86-mingw32 test/etc_doc_to_s.rb
libxml-ruby-2.3.0 test/etc_doc_to_s.rb
libxml-ruby-2.2.2-x86-mingw32 test/etc_doc_to_s.rb