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