Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/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 } } }"
- 0.443000 0.000000 0.443000 ( 0.393000)
- 0.284000 0.000000 0.284000 ( 0.284000)
- 0.278000 0.000000 0.278000 ( 0.278000)
- 0.278000 0.000000 0.278000 ( 0.278000)
- 0.274000 0.000000 0.274000 ( 0.274000)
- 0.279000 0.000000 0.279000 ( 0.279000)
- 0.280000 0.000000 0.280000 ( 0.280000)
- 0.278000 0.000000 0.278000 ( 0.278000)
- 0.278000 0.000000 0.278000 ( 0.278000)
- 0.276000 0.000000 0.276000 ( 0.276000)
- ~/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 } } }"
- 1.035000 0.000000 1.035000 ( 0.980000)
- 0.559000 0.000000 0.559000 ( 0.560000)
- 0.530000 0.000000 0.530000 ( 0.530000)
- 0.528000 0.000000 0.528000 ( 0.528000)
- 0.531000 0.000000 0.531000 ( 0.531000)
- 0.595000 0.000000 0.595000 ( 0.595000)
- 0.537000 0.000000 0.537000 ( 0.537000)
- 0.531000 0.000000 0.531000 ( 0.530000)
- 0.595000 0.000000 0.595000 ( 0.595000)
- 0.534000 0.000000 0.534000 ( 0.534000)
Add Comment
Please, Sign In to add comment