Skip to content

Instantly share code, notes, and snippets.

@meal
Created March 18, 2015 15:19
Show Gist options
  • Select an option

  • Save meal/fa4a1db0330d7414fb01 to your computer and use it in GitHub Desktop.

Select an option

Save meal/fa4a1db0330d7414fb01 to your computer and use it in GitHub Desktop.

Revisions

  1. meal created this gist Mar 18, 2015.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    1.9.3-p551 :005 > Benchmark.bm{|x| x.report { sleep(RUBY_VERSION.to_f) } }
    user system total real
    0.000000 0.000000 0.000000 ( 1.900123)

    2.1.5 :002 > Benchmark.bm{|x| x.report { sleep(RUBY_VERSION.to_f) } }
    user system total real
    0.000000 0.000000 0.000000 ( 2.100181)