Sha256: 15710dd34a82c8f35dc127e6d30ca081c6da52ed53508f3b727eed31685bb2f6

Contents?: true

Size: 493 Bytes

Versions: 19

Compression:

Stored size: 493 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

while line = STDIN.gets
  bar.tick
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rbbt-util-5.13.19 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.18 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.17 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.16 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.15 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.14 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.13 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.12 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.11 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.10 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.9 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.8 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.7 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.6 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.5 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.4 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.3 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.2 share/rbbt_commands/benchmark/throughput
rbbt-util-5.13.1 share/rbbt_commands/benchmark/throughput