Sha256: aa1b0202ba96f7fed28f2da7c0bc4e1463eea6e3eb9d85b55e7847e706e7474e

Contents?: true

Size: 516 Bytes

Versions: 504

Compression:

Stored size: 516 Bytes

Contents

#!/usr/bin/env ruby

require 'rbbt-util'
require 'rbbt/util/simpleopt'

$0 = "rbbt #{$previous_commands*""} #{ File.basename(__FILE__) }" if $previous_commands

options = SOPT.setup <<EOF
Monitor throughput

$ rbbt tsv throughput 

Display summary information. Works with Tokyocabinet HDB and BDB as well.

-h--help Help
EOF

SOPT.usage if options[:help]

start = Time.now
count = 0
max = 0
avg = 0
all = []
scale = 5
bar = Log::ProgressBar.new_bar nil, :desc => "Throughput"

while line = STDIN.gets
  bar.tick
end

Version data entries

504 entries across 504 versions & 1 rubygems

Version Path
rbbt-util-5.26.71 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.70 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.69 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.68 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.67 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.66 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.65 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.64 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.63 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.62 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.59 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.58 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.57 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.55 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.54 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.53 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.52 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.50 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.49 share/rbbt_commands/benchmark/throughput
rbbt-util-5.26.48 share/rbbt_commands/benchmark/throughput