[ruby-cvs:72176] k0kubun:r65076 (trunk): _mjit_compile_ivar.erb: optimize setivar as well

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sun Oct 14 22:25:22 JST 2018


k0kubun	2018-10-14 22:25:21 +0900 (Sun, 14 Oct 2018)

  New Revision: 65076

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

  Log:
    _mjit_compile_ivar.erb: optimize setivar as well
    
    mjit_compile.inc.erb: ditto
    common.mk: update dependency for the rename from getivar.erb
    
    === Optcarrot benchmark ===
    ```
    $ benchmark-driver benchmark.yml --rbenv '2.0.0::2.0.0-p648 --disable-gems;before::before --disable-gems;before+JIT::before --disable-gems --jit;after::after --disable-gems;after+JIT::after --disable-gems --jit' -v --repeat-count 24
    2.0.0: ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-linux]
    before: ruby 2.6.0dev (2018-10-14 trunk 65074) [x86_64-linux]
    before+JIT: ruby 2.6.0dev (2018-10-14 trunk 65074) +JIT [x86_64-linux]
    after: ruby 2.6.0dev (2018-10-14 trunk 65074) [x86_64-linux]
    after+JIT: ruby 2.6.0dev (2018-10-14 trunk 65074) +JIT [x86_64-linux]
    Calculating -------------------------------------
                                  2.0.0      before  before+JIT       after   after+JIT
    Optcarrot Lan_Master.nes     34.434      53.125      84.782      53.321      86.812 fps
    
    Comparison:
                 Optcarrot Lan_Master.nes
                   after+JIT:        86.8 fps
                  before+JIT:        84.8 fps - 1.02x  slower
                       after:        53.3 fps - 1.63x  slower
                      before:        53.1 fps - 1.63x  slower
                       2.0.0:        34.4 fps - 2.52x  slower
    ```

  Added files:
    trunk/tool/ruby_vm/views/_mjit_compile_ivar.erb
  Removed files:
    trunk/tool/ruby_vm/views/_mjit_compile_getivar.erb
  Modified files:
    trunk/common.mk
    trunk/tool/ruby_vm/views/mjit_compile.inc.erb


More information about the ruby-cvs mailing list