Sha256: 1f6ddb88ef212c0eb4ee464e91ca4fa83ec18c0e3f472ec3cba73bc1dd3f9651

Contents?: true

Size: 1.69 KB

Versions: 3

Compression:

Stored size: 1.69 KB

Contents

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `benchmark` gem.
# Please instead update this file by running `bin/tapioca sync`.

# typed: true

module Benchmark
  private

  def benchmark(caption = T.unsafe(nil), label_width = T.unsafe(nil), format = T.unsafe(nil), *labels); end
  def bm(label_width = T.unsafe(nil), *labels, &blk); end
  def bmbm(width = T.unsafe(nil)); end
  def measure(label = T.unsafe(nil)); end
  def realtime; end

  class << self
    def benchmark(caption = T.unsafe(nil), label_width = T.unsafe(nil), format = T.unsafe(nil), *labels); end
    def bm(label_width = T.unsafe(nil), *labels, &blk); end
    def bmbm(width = T.unsafe(nil)); end
    def measure(label = T.unsafe(nil)); end
    def realtime; end
  end
end

class Benchmark::Job
  def initialize(width); end

  def item(label = T.unsafe(nil), &blk); end
  def list; end
  def report(label = T.unsafe(nil), &blk); end
  def width; end
end

class Benchmark::Report
  def initialize(width = T.unsafe(nil), format = T.unsafe(nil)); end

  def item(label = T.unsafe(nil), *format, &blk); end
  def list; end
  def report(label = T.unsafe(nil), *format, &blk); end
end

class Benchmark::Tms
  def initialize(utime = T.unsafe(nil), stime = T.unsafe(nil), cutime = T.unsafe(nil), cstime = T.unsafe(nil), real = T.unsafe(nil), label = T.unsafe(nil)); end

  def *(x); end
  def +(other); end
  def -(other); end
  def /(x); end
  def add(&blk); end
  def add!(&blk); end
  def cstime; end
  def cutime; end
  def format(format = T.unsafe(nil), *args); end
  def label; end
  def real; end
  def stime; end
  def to_a; end
  def to_s; end
  def total; end
  def utime; end

  protected

  def memberwise(op, x); end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shotgrid_api_ruby-0.2.0.5 sorbet/rbi/gems/benchmark@0.1.1.rbi
shotgrid_api_ruby-0.2.0.4 sorbet/rbi/gems/benchmark@0.1.1.rbi
shotgrid_api_ruby-0.2.0.1 sorbet/rbi/gems/benchmark@0.1.1.rbi