[ruby-cvs:70182] k0kubun:r63092 (trunk): mjit_compile.c: disable stack consistency check

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed Apr 4 22:17:01 JST 2018


k0kubun	2018-04-04 22:17:01 +0900 (Wed, 04 Apr 2018)

  New Revision: 63092

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

  Log:
    mjit_compile.c: disable stack consistency check
    
    This should be basically safe because VM already does this check.
    I don't think JIT-ed code, which should be specially optimized, should
    still do this.
    
    * Benchmark
    
    Calculating -------------------------------------
                             before  before,--jit  after,--jit
               optcarrot     53.851        68.050       71.641 fps
    
    Comparison:
                            optcarrot
             after,--jit:        71.6 fps
            before,--jit:        68.1 fps - 1.05x  slower
                  before:        53.9 fps - 1.33x  slower

  Modified files:
    trunk/mjit_compile.c


More information about the ruby-cvs mailing list