1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/internal
Takashi Kokubun dbb4f19969
Allow inlining Integer#-@ and #~
```
$ benchmark-driver -v --rbenv 'before --jit;after --jit' benchmark/mjit_integer.yml --filter '(comp|uminus)'
before --jit: ruby 3.0.0dev (2020-12-23T05:41:44Z master 0dd4896175) +JIT [x86_64-linux]
after --jit: ruby 3.0.0dev (2020-12-23T06:25:41Z master 8887d78992) +JIT [x86_64-linux]
last_commit=Allow inlining Integer#-@ and #~
Calculating -------------------------------------
                     before --jit  after --jit
        mjit_comp(1)      44.006M      70.417M i/s -     40.000M times in 0.908967s 0.568042s
      mjit_uminus(1)      44.333M      68.422M i/s -     40.000M times in 0.902255s 0.584603s

Comparison:
                     mjit_comp(1)
         after --jit:  70417331.4 i/s
        before --jit:  44005980.4 i/s - 1.60x  slower

                   mjit_uminus(1)
         after --jit:  68422468.8 i/s
        before --jit:  44333371.0 i/s - 1.54x  slower
```
2020-12-22 22:32:19 -08:00
..
array.h tuning trial: newobj with current ec 2020-12-07 08:28:36 +09:00
bignum.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
bits.h Fix a typo [ci skip] 2020-05-18 17:42:50 +09:00
class.h sync RClass::ext::iv_index_tbl 2020-10-17 08:18:04 +09:00
compar.h
compile.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
compilers.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
complex.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
cont.h Make Mutex per-Fiber instead of per-Thread 2020-09-14 16:44:09 +12:00
dir.h
enc.h
encoding.h
enum.h
enumerator.h
error.h Switch rb_category_warn{,ing} to accept an rb_warning_category_t 2020-12-18 09:54:11 -08:00
eval.h
file.h
fixnum.h Update fixnum.h 2020-12-01 20:40:33 +09:00
gc.h Narrowed down unaligned member access region in RB_OBJ_WRITE 2020-12-13 11:57:05 +09:00
hash.h Ractor.make_shareable(obj) 2020-10-21 07:59:24 +09:00
imemo.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
inits.h
io.h
load.h
loadpath.h
math.h
missing.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
numeric.h Allow inlining Integer#-@ and #~ 2020-12-22 22:32:19 -08:00
object.h ROBJECT_IV_INDEX_TBL: convert into an inline function 2020-08-19 14:30:57 +09:00
parse.h
proc.h Moved rb_callable_receiver internal 2020-10-06 10:11:51 +09:00
process.h Allow Dir.home to work for non-login procs when $HOME not set 2020-05-23 23:16:28 +09:00
random.h
range.h Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241) 2020-10-21 02:40:18 +09:00
rational.h Fix ArithmeticSequence#last and ArithmeticSequence#each for non-integer sequences (#3870) 2020-12-09 18:48:59 +09:00
re.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
sanitizers.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
scheduler.h Add support for non-blocking Process.wait. 2020-12-09 08:55:35 +13:00
serial.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
signal.h
static_assert.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
string.h tuning trial: newobj with current ec 2020-12-07 08:28:36 +09:00
struct.h include/ruby/backward/2/r_cast.h: deprecate 2020-08-27 15:03:36 +09:00
symbol.h
thread.h Rename to Fiber#set_scheduler. 2020-11-07 23:39:50 +13:00
time.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
transcode.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
util.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
variable.h tuning ivar set 2020-12-16 13:06:13 +09:00
vm.h Prefer stdbool in vm_exec 2020-12-21 21:16:39 -08:00
warnings.h sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00