Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/NetBeansProjects/jruby ➔ jruby -J-server -rbenchmark -e "def foo; if false; eval; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
- Rehearsal ------------------------------------
- 2.661000 0.000000 2.661000 ( 2.661000)
- --------------------------- total: 2.661000sec
- user system total real
- 2.222000 0.000000 2.222000 ( 2.222000)
- ~/NetBeansProjects/jruby ➔ ruby -rbenchmark -e "def foo; if false; eval; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
- Rehearsal ------------------------------------
- 3.410000 0.020000 3.430000 ( 3.442044)
- --------------------------- total: 3.430000sec
- user system total real
- 3.410000 0.020000 3.430000 ( 3.435986)
- ~/NetBeansProjects/jruby ➔ ../ruby1.9/ruby -I ../ruby1.9/lib -rbenchmark -e "def foo; if false; eval; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
- Rehearsal ------------------------------------
- 2.090000 0.010000 2.100000 ( 2.099342)
- --------------------------- total: 2.100000sec
- user system total real
- 2.080000 0.010000 2.090000 ( 2.151790)
Add Comment
Please, Sign In to add comment