Skip to content

Instantly share code, notes, and snippets.

@jmeowmeow
Created May 10, 2015 15:03
Show Gist options
  • Save jmeowmeow/e77d80c4d3519a21568a to your computer and use it in GitHub Desktop.
Save jmeowmeow/e77d80c4d3519a21568a to your computer and use it in GitHub Desktop.
gem_time.rb results for Ruby 2.1.3 / Mac OS X 10.8.5
$ ruby gem_time.rb
ruby 2.1.3 -- 4 specs and 4 mspecs
Calculating -------------------------------------
eval 67.000 i/100ms
marshal 122.000 i/100ms
-------------------------------------------------
eval 686.232 (± 4.5%) i/s - 6.901k
marshal 1.265k (± 5.3%) i/s - 12.688k
Comparison:
marshal: 1265.4 i/s
eval: 686.2 i/s - 1.84x slower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment