Guest User

Untitled

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