Sha256: 1f790ae85f1685a2db3b27c721aa65915e8e7604e00b1660484b3fd049da79fa

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

def truffle? # truffle can't do gem install
  defined?(RUBY_DESCRIPTION) && RUBY_DESCRIPTION.match(/graal/)
end

require 'benchmark/ips'

# only loaded for truffle normally, as it has little to no effect on other
# implementations I tested and only results in them running WAY longer.
if truffle?
  require_relative 'benchmark-ips_shim'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubykon-0.3.1 benchmark/support/benchmark-ips.rb
rubykon-0.3.0 benchmark/support/benchmark-ips.rb