Sha256: ba461aecd2f8d4f8bb85dddf9aaa71abd17300521b8b05e2e71267b959d0d03c
Contents?: true
Size: 351 Bytes
Versions: 8
Compression:
Stored size: 351 Bytes
Contents
require 'libxml' 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
8 entries across 8 versions & 1 rubygems