Sha256: 3f051d5ccdbdcaf98b9819fc44d206e3ea45b1148c24fb2b8b2c6a3b7385e684
Contents?: true
Size: 352 Bytes
Versions: 43
Compression:
Stored size: 352 Bytes
Contents
require 'xml' 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
43 entries across 43 versions & 7 rubygems