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 delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
_c_expr.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
_comptime_insn_stack_increase.erb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
_copyright.erb [ci skip] grammers in comments 2019-04-23 10:27:44 +09:00
_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_len_info.erb: add ASSERT_VM_INSTRUCTION_SIZE 2019-01-31 05:00:41 +00:00
_insn_name_info.erb _insn_name_info.erb: use C99 2019-01-31 04:46:03 +00:00
_insn_operand_info.erb _insn_operand_info.erb: use C99 2019-01-31 05:22:58 +00:00
_insn_sp_pc_dependency.erb Introduce frame-omitted method inlining 2019-04-16 17:02:16 +00:00
_insn_type_chars.erb _insn_type_chars.erb: use C99 2019-01-31 05:36:17 +00:00
_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 delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
_sp_inc_helpers.erb VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
_trace_instruction.erb Remove the pc argument of vm_trace() 2020-09-01 22:02:29 -04:00
insns.inc.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
insns_info.inc.erb Combine call info and cache to speed up method invocation 2019-10-24 18:03:42 +09:00
mjit_compile.inc.erb builtin.h: avoid copy&paste 2020-07-13 08:56:18 +09:00
opt_sc.inc.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
optinsn.inc.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
optunifs.inc.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
vm.inc.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
vmtc.inc.erb delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00