[ruby-cvs:71776] k0kubun:r64684 (trunk): _mjit_compile_insn.erb: prefer insn.always_leaf?

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Sep 11 22:48:01 JST 2018


k0kubun	2018-09-11 22:48:00 +0900 (Tue, 11 Sep 2018)

  New Revision: 64684

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64684

  Log:
    _mjit_compile_insn.erb: prefer insn.always_leaf?
    
    rather than `trace_enablable_insns` which is hard to maintain.
    
    This would make performance bad because new branches for tracepoint will
    be added.
    
    Optcarrot before:
    fps: 56.885371547337655
    fps: 60.02493636060194
    fps: 63.051028327122076
    fps: 63.78463316242535
    fps: 64.20391937940403
    fps: 64.55990344731123
    fps: 64.56771099162921
    fps: 64.95991277629723
    fps: 65.15120708973232
    fps: 65.90558702393933
    fps: 66.29579283026303
    
    Optcarrot after:
    fps: 52.7647027470875
    fps: 53.67404855529564
    fps: 58.40514319229468
    fps: 60.90736996487708
    fps: 62.83487236283472
    fps: 63.01386139447994
    fps: 63.42395443471596
    fps: 63.78328559878602
    fps: 64.58432081229746
    fps: 64.78720429848532
    fps: 65.48720618907552

  Modified files:
    trunk/tool/ruby_vm/views/_mjit_compile_insn.erb


More information about the ruby-cvs mailing list