Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/NetBeansProjects/jruby ➔ jruby -J-server -rbenchmark -e "def foo; if false; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
- Rehearsal ------------------------------------
- 2.624000 0.000000 2.624000 ( 2.624000)
- --------------------------- total: 2.624000sec
- user system total real
- 1.927000 0.000000 1.927000 ( 1.928000)
- ~/NetBeansProjects/jruby ➔ ruby -rbenchmark -e "def foo; if false; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
- Rehearsal ------------------------------------
- 3.430000 0.000000 3.430000 ( 3.430940)
- --------------------------- total: 3.430000sec
- user system total real
- 3.460000 0.000000 3.460000 ( 3.463657)
- ~/NetBeansProjects/jruby ➔ ../ruby1.9/ruby -I ../ruby1.9/lib -rbenchmark -e "def foo; if false; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
- Rehearsal ------------------------------------
- 2.070000 0.000000 2.070000 ( 2.080869)
- --------------------------- total: 2.070000sec
- user system total real
- 2.070000 0.010000 2.080000 ( 2.077726)
Add Comment
Please, Sign In to add comment