Guest User

Untitled

a guest
Apr 24th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. ~/NetBeansProjects/jruby ➔ jruby -J-server -rbenchmark -e "def foo; if false; eval; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
  2. Rehearsal ------------------------------------
  3. 2.661000 0.000000 2.661000 ( 2.661000)
  4. --------------------------- total: 2.661000sec
  5.  
  6. user system total real
  7. 2.222000 0.000000 2.222000 ( 2.222000)
  8. ~/NetBeansProjects/jruby ➔ ruby -rbenchmark -e "def foo; if false; eval; end; end; Benchmark.bmbm {|bm| bm.report { 10_000_000.times { foo } } }"
  9. Rehearsal ------------------------------------
  10. 3.410000 0.020000 3.430000 ( 3.442044)
  11. --------------------------- total: 3.430000sec
  12.  
  13. user system total real
  14. 3.410000 0.020000 3.430000 ( 3.435986)
  15. ~/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 } } }"
  16. Rehearsal ------------------------------------
  17. 2.090000 0.010000 2.100000 ( 2.099342)
  18. --------------------------- total: 2.100000sec
  19.  
  20. user system total real
  21. 2.080000 0.010000 2.090000 ( 2.151790)
Add Comment
Please, Sign In to add comment