1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/ruby_vm/views
Takashi Kokubun 4d2c8edca6
Set VM_FRAME_FLAG_FINISH at once on MJIT
Performance is probably improved?

$ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml
before --jit: ruby 3.0.0dev (2020-11-27T04:37:47Z master 69e77e81dc) +JIT [x86_64-linux]
after --jit: ruby 3.0.0dev (2020-11-27T05:28:19Z master df6b05c6dd) +JIT [x86_64-linux]
last_commit=Set VM_FRAME_FLAG_FINISH at once
Calculating -------------------------------------
                                 before --jit           after --jit
Optcarrot Lan_Master.nes    80.89292998533379     82.19497327502751 fps
                            80.93130641142331     85.13943315260148
                            81.06214830270119     87.43757879797808
                            82.29172808453910     87.89942441487113
                            84.61206450455929     87.91309779491075
                            85.44545883567997     87.98026086648694
                            86.02923132404449     88.03081060383973
                            86.07411817365879     88.14650206137341
                            86.34348799602836     88.32791633649961
                            87.90257338977324     88.57599644892220
                            88.58006509876580     88.67426384743277
                            89.26611118140011     88.81669430874207

This should have no bad impact on VM because this function is ALWAYS_INLINE.
2020-11-26 21:32:14 -08:00
..
_attributes.erb
_c_expr.erb
_comptime_insn_stack_increase.erb
_copyright.erb
_insn_entry.erb Verify builtin inline annotation with VM_CHECK_MODE (#3244) 2020-06-21 10:27:04 -07:00
_insn_len_info.erb
_insn_name_info.erb
_insn_operand_info.erb
_insn_sp_pc_dependency.erb
_insn_type_chars.erb
_leaf_helpers.erb Use ID instead of GENTRY for gvars. (#3278) 2020-07-03 16:56:44 +09:00
_mjit_compile_insn.erb Delay definition of pc_moved_p 2020-04-06 01:55:18 -07:00
_mjit_compile_insn_body.erb builtin.h: avoid copy&paste 2020-07-13 08:56:18 +09:00
_mjit_compile_invokebuiltin.erb skip inlining cexpr! that are not attr! inline 2020-07-16 11:49:09 +09:00
_mjit_compile_ivar.erb sync RClass::ext::iv_index_tbl 2020-10-17 08:18:04 +09:00
_mjit_compile_pc_and_sp.erb Delay definition of pc_moved_p 2020-04-06 01:55:18 -07:00
_mjit_compile_send.erb Set VM_FRAME_FLAG_FINISH at once on MJIT 2020-11-26 21:32:14 -08:00
_notice.erb
_sp_inc_helpers.erb
_trace_instruction.erb Remove the pc argument of vm_trace() 2020-09-01 22:02:29 -04:00
insns.inc.erb
insns_info.inc.erb
mjit_compile.inc.erb builtin.h: avoid copy&paste 2020-07-13 08:56:18 +09:00
opt_sc.inc.erb
optinsn.inc.erb
optunifs.inc.erb
vm.inc.erb
vmtc.inc.erb