Sha256: e90e94ace8cc2095a33c468659ee644d136dd398ff457ec4ce4f699c8fa37fc4
Contents?: true
Size: 384 Bytes
Versions: 13
Compression:
Stored size: 384 Bytes
Contents
# bundle exec ruby-prof --printer=graph_html --file=../results.html --require 'ruby-progressbar' --sort=total ./spec/fixtures/benchmark.rb total = 10 # output = File.open('/Users/jfelchner/Downloads/benchmark.txt', 'w+') output = $stdout bar = ProgressBar.create(:output => output, :length => 80, :start => 0, :total => total) total.times do |i| bar.log i bar.increment end
Version data entries
13 entries across 13 versions & 2 rubygems