Sha256: 8430da35d22b7eea1e8ba2ed1acf069e520316e8fcd810d150070ae71ae7cef3
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
# frozen_string_literal: true require "hotch" COUNT = ENV.fetch("COUNT", 1_000_000) def foo "x" * 23 end def bar ["x"] * 23 end Hotch(aggregate: false) do COUNT.times do foo end end Hotch(mode: :cpu) do COUNT.times do bar end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hotch-0.7.0 | examples/simple.rb |