[ruby-cvs:72456] k0kubun:r65356 (trunk): _mjit_compile_ivar.erb: cancel on undefined ivar

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Thu Oct 25 00:41:14 JST 2018


k0kubun	2018-10-25 00:41:14 +0900 (Thu, 25 Oct 2018)

  New Revision: 65356

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

  Log:
    _mjit_compile_ivar.erb: cancel on undefined ivar
    
    I assumed somehow this check was not needed, but it did need.
    By canceling this instead of just warning here, we didn't lose the
    current performance so much.
    
    test_jit.rb: test the case that reproduces SEGV by that.
    
    TestGemStreamUI.rb: delete. This test on --jit-wait is fixed.
    
    === Optcarrot Benchmark ===
    
    $ benchmark-driver benchmark.yml --rbenv 'before::before --disable-gems --jit;after::after --disable-gems --jit' -v --repeat-count 24
    before: ruby 2.6.0dev (2018-10-24 trunk 65355) +JIT [x86_64-linux]
    after: ruby 2.6.0dev (2018-10-24 trunk 65355) +JIT [x86_64-linux]
    last_commit=_mjit_compile_ivar.erb: cancel on undefined ivar
    Calculating -------------------------------------
                                 before       after
    Optcarrot Lan_Master.nes     85.344      84.849 fps
    
    Comparison:
                 Optcarrot Lan_Master.nes
                      before:        85.3 fps
                       after:        84.8 fps - 1.01x  slower

  Removed files:
    trunk/test/excludes/_wercker/test-mjit-wait/TestGemStreamUI.rb
  Modified files:
    trunk/test/ruby/test_jit.rb
    trunk/tool/ruby_vm/views/_mjit_compile_ivar.erb


More information about the ruby-cvs mailing list