Sha256: 29caf3ce53baceb27f9757e52af9f3218775380a8999d477ae03256bf76f6f8c

Contents?: true

Size: 535 Bytes

Versions: 816

Compression:

Stored size: 535 Bytes

Contents

#!/usr/bin/env ruby

require 'rbbt-util'

file, *sizes = ARGV

sizes.each do |size|
  size = size.to_i

  %w(--parallel=cpu --parallel=thr --noparallel).each do |parallel|
    Log.info Log.color(:red, parallel) + " " + Log.color(:blue, size.to_s)

    start = Time.now
    `head -n #{ size } "#{file}" | drbbt task Structure mutated_isoform_neighbour_annotation -g - -cl --log 10 -pn #{parallel}`
    Log.info Log.color(:red, parallel) + " " + Log.color(:blue, size.to_s) + " " + Log.color(:yellow, (Time.now - start).to_s)
  end
end

Version data entries

816 entries across 816 versions & 1 rubygems

Version Path
rbbt-util-6.0.3 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.44.1 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.43.0 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.42.0 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.41.1 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.41.0 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.40.5 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.40.4 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.40.3 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.40.0 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.39.0 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.38.1 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.38.0 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.16 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.15 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.14 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.13 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.12 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.11 share/rbbt_commands/benchmark/pthrough
rbbt-util-5.37.10 share/rbbt_commands/benchmark/pthrough