Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created August 11, 2014 18:41
Show Gist options
  • Save ddossot/59cb3b2911bb929b89c1 to your computer and use it in GitHub Desktop.
Save ddossot/59cb3b2911bb929b89c1 to your computer and use it in GitHub Desktop.
require time MRI vs JRuby
$ rbenv local 2.0.0-p451
$ irb
irb(main):001:0> require 'benchmark'
=> true
irb(main):002:0> puts Benchmark.measure { require 'aws-sdk' }
0.060000 0.010000 0.070000 ( 0.066320)
$ rbenv local jruby-1.7.12
$ irb
irb(main):001:0> require 'benchmark'
=> true
irb(main):002:0> puts Benchmark.measure { require 'aws-sdk' }
5.250000 0.080000 5.330000 ( 2.407000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment