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
smile-xml-1.0.5-java src/test/ruby/ets_doc_to_s.rb
smile-xml-1.0.4-java src/test/ruby/ets_doc_to_s.rb
libxml-ruby-2.8.0 test/ets_doc_to_s.rb
smile-xml-1.0.3-java src/test/ruby/ets_doc_to_s.rb
libxml-ruby-2.7.0-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.7.0 test/ets_doc_to_s.rb
smile-xml-1.0.3-jruby src/test/ruby/ets_doc_to_s.rb
libxml-ruby-2.6.0-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.6.0 test/ets_doc_to_s.rb
libxml-ruby-2.5.0-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.5.0 test/ets_doc_to_s.rb
libxml-ruby-2.4.0-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.4.0 test/ets_doc_to_s.rb
smile-xml-1.0.2-jruby src/test/ruby/ets_doc_to_s.rb
libxml-ruby-2.3.3-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.3.3 test/ets_doc_to_s.rb
libxml-ruby-2.3.2 test/ets_doc_to_s.rb
libxml-ruby-2.3.0-x86-mingw32 test/ets_doc_to_s.rb
libxml-ruby-2.3.0 test/ets_doc_to_s.rb
libxml-ruby-2.2.2-x86-mingw32 test/ets_doc_to_s.rb