Sha256: 1cea1193a64adaac85a752131ed7cabe638ea759a14d0c82b82fa41dae8d7511

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

require 'benchmark'

puts "Ruby Roll"

Benchmark.bmbm do |x|
  x.report("Reqiure Roll: ") { system "ruby -roll -e'nil'" }
  x.report("Require Facets via Roll: ") { system %[export RUBYOPT=""; ruby -roll -e'require "facets"'] }
end

puts; puts
puts "RubyGems"

Benchmark.bmbm do |x|
  x.report("Require Gems: ") { system "ruby -rubygems -e'nil'" }
  x.report("Require Facets via Gems: ") { system %[export RUBYOPT=""; ruby -rubygems -e'require "facets"'] }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roll-1.1.0 test/benchmarks/vsgems_bm.rb