Guest User

Untitled

a guest
Apr 25th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. ~/projects/jruby ➔ jruby -X-C -rbenchmark -e "10.times { puts Benchmark.measure { 10000.times { class A; def foo; 5 + 5; end; end; aa = A.new; def aa.stuff; 6 + 6; end } } }"
  2. 0.443000 0.000000 0.443000 ( 0.393000)
  3. 0.284000 0.000000 0.284000 ( 0.284000)
  4. 0.278000 0.000000 0.278000 ( 0.278000)
  5. 0.278000 0.000000 0.278000 ( 0.278000)
  6. 0.274000 0.000000 0.274000 ( 0.274000)
  7. 0.279000 0.000000 0.279000 ( 0.279000)
  8. 0.280000 0.000000 0.280000 ( 0.280000)
  9. 0.278000 0.000000 0.278000 ( 0.278000)
  10. 0.278000 0.000000 0.278000 ( 0.278000)
  11. 0.276000 0.000000 0.276000 ( 0.276000)
  12.  
  13. ~/projects/jruby ➔ jruby --server -X-C -rbenchmark -e "10.times { puts Benchmark.measure { 10000.times { class A; def foo; 5 + 5; end; end; aa = A.new; def aa.stuff; 6 + 6; end } } }"
  14. 1.035000 0.000000 1.035000 ( 0.980000)
  15. 0.559000 0.000000 0.559000 ( 0.560000)
  16. 0.530000 0.000000 0.530000 ( 0.530000)
  17. 0.528000 0.000000 0.528000 ( 0.528000)
  18. 0.531000 0.000000 0.531000 ( 0.531000)
  19. 0.595000 0.000000 0.595000 ( 0.595000)
  20. 0.537000 0.000000 0.537000 ( 0.537000)
  21. 0.531000 0.000000 0.531000 ( 0.530000)
  22. 0.595000 0.000000 0.595000 ( 0.595000)
  23. 0.534000 0.000000 0.534000 ( 0.534000)
Add Comment
Please, Sign In to add comment