Sha256: 098d9d1bf7a47dbe78405c9c88b232dce49dd02b78f6a8bcd9f9abfb515f957d

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

def micro_harness_input
  [1, 2, 3, 4, 5, 6, 7, 8]
end

def micro_harness_iterations
  1_000_000
end

def micro_harness_sample(input)
  input.pack('CSLQcslq').sum
end

def micro_harness_expected
  36
end

require 'bench9000/micro-harness'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bench9000-0.1 benchmarks/micro/pack-small-mixture.rb