1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
Takashi Kokubun b736ea63bd
Optimize exivar access on JIT-ed getivar
JIT support of dd723771c1.

$ benchmark-driver -v --rbenv 'before;before --jit;after --jit' benchmark/mjit_exivar.yml --repeat-count=4
before: ruby 2.8.0dev (2020-03-30T12:32:26Z master e5db3da9d3) [x86_64-linux]
before --jit: ruby 2.8.0dev (2020-03-30T12:32:26Z master e5db3da9d3) +JIT [x86_64-linux]
after --jit: ruby 2.8.0dev (2020-03-31T05:57:24Z mjit-exivar 128625baec) +JIT [x86_64-linux]
Calculating -------------------------------------
                         before  before --jit  after --jit
         mjit_exivar    57.944M       53.579M      54.471M i/s -    200.000M times in 3.451588s 3.732772s 3.671687s

Comparison:
                      mjit_exivar
              before:  57944345.1 i/s
         after --jit:  54470876.7 i/s - 1.06x  slower
        before --jit:  53579483.4 i/s - 1.08x  slower
2020-03-30 23:16:35 -07:00
..
enc support multi-run for test/ruby/enc/test_regex_casefold.rb 2020-01-29 13:08:40 +09:00
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb Fixed misspellings 2019-12-20 09:32:42 +09:00
test_alias.rb Merge pull request #2721 from jeremyevans/method-inspect-chain-alias-11188 2020-03-22 09:30:20 -07:00
test_argf.rb Pass keyword arguments to IOs properly [Bug #16639] 2020-02-18 14:35:46 +09:00
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb support multiple run for test/ruby/test_array. 2020-01-28 15:23:51 +09:00
test_assignment.rb Fixed misspellings 2019-12-20 09:32:42 +09:00
test_ast.rb Added test for f38b3e8c70 2020-01-17 16:56:53 +09:00
test_autoload.rb support multi-run for test/ruby/test_autoload.rb 2020-01-28 17:55:18 +09:00
test_backtrace.rb
test_basicinstructions.rb support multi-run for ruby/test_basicinstructions.rb 2020-01-28 15:23:51 +09:00
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb Make yield in singleton class definitions in methods a SyntaxError 2020-02-11 12:44:23 -08:00
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb refactoring: use Proc and Constant. 2020-01-29 00:54:05 +09:00
test_continuation.rb
test_default_gems.rb
test_defined.rb
test_dir.rb Fixed crash when argument array is modified 2020-03-25 01:23:03 +09:00
test_dir_m17n.rb
test_econv.rb Warn when :newline precedes other newline options 2020-01-11 10:42:22 +09:00
test_encoding.rb Get rid of warnings/exceptions at cleanup 2020-02-13 12:46:48 +09:00
test_enum.rb
test_enumerator.rb
test_env.rb
test_eval.rb support multi-run for test/ruby/test_eval.rb 2020-01-28 15:23:51 +09:00
test_exception.rb fix test cleanup. 2020-01-29 01:27:17 +09:00
test_fiber.rb test/ruby/test_fiber.rb (test_many_fibers_with_threads): relax timeout 2020-03-22 21:58:18 +09:00
test_file.rb
test_file_exhaustive.rb Revert "Should return "." for File.extname("file.") also on Windows" 2019-12-23 11:54:25 +09:00
test_fixnum.rb
test_flip.rb
test_float.rb Show unmatched sequence on failure 2020-02-07 18:10:36 +09:00
test_fnmatch.rb
test_frozen_error.rb Split test_frozen_error.rb 2019-12-31 19:43:36 +09:00
test_gc.rb fix 6e271e4cbb 2020-03-04 11:36:34 +09:00
test_gc_compact.rb Moved GC.verify_compaction_references to gc.rb 2020-01-27 10:52:37 +09:00
test_hash.rb Proc made by Hash#to_proc should be a lambda [Bug #12671] 2020-03-16 23:38:26 +09:00
test_ifunless.rb
test_inlinecache.rb fix bug on method cache invalidation. 2020-03-11 02:50:44 +09:00
test_integer.rb
test_integer_comb.rb
test_io.rb Set external encoding correctly for File.open('f', FILE::BINARY) on Windows 2020-03-27 11:31:19 -07:00
test_io_m17n.rb
test_iseq.rb support multi-run for test/ruby/test_iseq.rb 2020-01-28 15:23:51 +09:00
test_iterator.rb
test_jit.rb Optimize exivar access on JIT-ed getivar 2020-03-30 23:16:35 -07:00
test_jit_debug.rb Ignore TestJITDebug in mswin RubyCI for now 2020-03-18 18:38:31 -07:00
test_key_error.rb
test_keyword.rb Reduce allocations for keyword argument hashes 2020-03-17 12:09:43 -07:00
test_lambda.rb Kernel#lambda: return forwarded block as non-lambda proc 2019-12-21 09:08:52 -05:00
test_lazy_enumerator.rb
test_literal.rb
test_m17n.rb test/json/test_helper.rb: Do not add a relative path to $LOAD_PATH 2020-03-24 10:45:52 +09:00
test_m17n_comb.rb reroute musl unistd.h weirdness 2020-01-24 10:49:35 +09:00
test_marshal.rb support multi-run for test/ruby/test_marshal.rb 2020-01-28 15:23:51 +09:00
test_math.rb
test_metaclass.rb
test_method.rb Merge pull request #2721 from jeremyevans/method-inspect-chain-alias-11188 2020-03-22 09:30:20 -07:00
test_mixed_unicode_escapes.rb
test_module.rb setup Other class. 2020-02-28 17:58:30 +09:00
test_name_error.rb Split test_name_error.rb 2019-12-31 19:43:36 +09:00
test_nomethod_error.rb Split test_nomethod_error.rb 2019-12-31 19:43:36 +09:00
test_not.rb
test_numeric.rb Update tests for full keyword argument separation 2020-01-02 18:40:45 -08:00
test_object.rb Support obj.clone(freeze: true) for freezing clone 2020-03-22 09:30:07 -07:00
test_objectspace.rb ObjectSpace._id2ref should check liveness. 2019-12-23 15:04:56 +09:00
test_optimization.rb
test_pack.rb
test_parse.rb Fixed duplicated warning 2020-02-10 14:00:40 +09:00
test_path.rb Revert "Should return "." for File.extname("file.") also on Windows" 2019-12-23 11:54:25 +09:00
test_pattern_matching.rb Suppress an "assigned but unused variable" warning 2020-03-03 20:54:31 +09:00
test_pipe.rb
test_primitive.rb support multi-run for test/ruby/test_primitive.rb 2020-01-28 15:23:51 +09:00
test_proc.rb Do not autosplat when calling procs that accept rest and keywords 2020-03-08 20:49:09 -07:00
test_process.rb Removed unnecessary chomp 2020-03-07 17:04:37 +09:00
test_rand.rb Revert "srand() should not run in tests." 2020-01-29 00:56:51 +09:00
test_range.rb range.c: Range#min with a beginless one now raise an explicit exception 2019-12-25 13:36:23 +09:00
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb Check if bindable against the refined target [Bug #16617] 2020-02-09 20:13:49 +09:00
test_regexp.rb Regexp in MatchData can be nil 2020-01-16 11:32:11 +09:00
test_require.rb require enc/trans/single_byte in advance. 2020-03-01 04:59:27 +09:00
test_require_lib.rb
test_rubyoptions.rb Fix inaccuracy in encoding tests 2020-02-04 08:24:59 +09:00
test_rubyvm.rb
test_rubyvm_mjit.rb
test_settracefunc.rb Don't tweak RubyVM compile options if it's not defined 2020-03-03 08:42:25 -06:00
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb Warn non-nil $/ [Feature #14240] 2020-02-23 13:37:40 +09:00
test_stringchar.rb
test_struct.rb support multi-run for test/ruby/test_struct.rb 2020-01-28 15:23:52 +09:00
test_super.rb should be compared with called_id 2020-02-13 03:30:22 +09:00
test_symbol.rb Proc from Symbol needs a receiver 2020-02-22 10:49:59 +09:00
test_syntax.rb Make {**{}} return unfrozen empty hash 2020-03-17 12:09:43 -07:00
test_system.rb
test_thread.rb Disable GC until VM objects get initialized [Bug #16616] 2020-02-09 17:15:55 +09:00
test_thread_cv.rb
test_thread_queue.rb test/ruby/test_thread_queue.rb: add a wait to yield a thread 2020-02-09 21:40:53 +09:00
test_threadgroup.rb
test_time.rb TestTime#test_memsize: skip when on GC_DEBUG 2020-02-20 11:46:54 +09:00
test_time_tz.rb ruby_reset_timezone resets leap_second_info. 2020-01-29 00:01:57 +09:00
test_trace.rb
test_transcode.rb Fixed symbol misused as ID 2020-02-24 15:37:52 +09:00
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb