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

Version Path
rubyjobbuilderdsl-0.0.2 vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/fixtures/benchmark.rb
rubyjobbuilderdsl-0.0.1 vendor/bundle/ruby/2.1.0/gems/ruby-progressbar-1.5.1/spec/fixtures/benchmark.rb
ruby-progressbar-1.6.1 spec/fixtures/benchmark.rb
ruby-progressbar-1.6.0 spec/fixtures/benchmark.rb
ruby-progressbar-1.5.1 spec/fixtures/benchmark.rb
ruby-progressbar-1.5.0 spec/fixtures/benchmark.rb
ruby-progressbar-1.4.2 spec/fixtures/benchmark.rb
ruby-progressbar-1.4.1 spec/fixtures/benchmark.rb
ruby-progressbar-1.4.0 spec/fixtures/benchmark.rb
ruby-progressbar-1.3.2 spec/fixtures/benchmark.rb
ruby-progressbar-1.3.1 spec/fixtures/benchmark.rb
ruby-progressbar-1.3.0 spec/fixtures/benchmark.rb
ruby-progressbar-1.2.0 spec/fixtures/benchmark.rb