Sha256: 65a7e4aad7a0efd4b5277034c246c1b46d5577a668863dc343df612843d9a75c
Contents?: true
Size: 347 Bytes
Versions: 6
Compression:
Stored size: 347 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'uvrb' start = Time.now loop = UV::Loop.default count = 0 timer = loop.timer $stdout << "\r\n" timer.start(1, 1) do |status| $stdout << "\r#{count}" if count >= 10000 timer.close do $stdout << "\n" end end count += 1 end loop.run $stdout << "\n" puts Time.now - start
Version data entries
6 entries across 6 versions & 1 rubygems