$ jruby -X+C -J-d32 --server -J-Xbatch bench/bench_define_method_methods.rb user system total real control, simple method, 10k * 100 invocations 1.106000 0.000000 1.106000 ( 0.734000) define_method(:foo) {1}, 10k * 100 invocations 2.174000 0.000000 2.174000 ( 2.174000) eval'ed define_method(:baz) {1}, 10k * 100 invocations 7.032000 0.000000 7.032000 ( 7.033000) define_method(:bar) {a = 1}, 10k * 100 invocations 1.225000 0.000000 1.225000 ( 1.225000) b = 1; define_method(:baz) {b = 2}, 10k * 100 invocations 1.166000 0.000000 1.166000 ( 1.166000) user system total real control, simple method, 10k * 100 invocations 2.255000 0.000000 2.255000 ( 2.255000) define_method(:foo) {1}, 10k * 100 invocations # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/callGenerator.cpp:822 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/home/ct232829/hsx/hotspot-comp/hotspot/src/share/vm/opto/callGenerator.cpp:822), pid=10484, tid=3456101232 # assert(slow_jvms != NULL) failed: miss path must not fail to generate # # JRE version: 8.0-b11 # Java VM: Java HotSpot(TM) Server VM (23.0-b03-internal-jvmg mixed mode linux-x86 ) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /export/twisti/jruby/hs_err_pid10484.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp #
|