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 c14b67b2a8
Check frozen flag on MJIT setinstancevariable
It does not seem to have a significant performance impact, hopefully?

```
$ benchmark-driver -v benchmark.yml --rbenv 'before --jit;after --jit' --repeat-count=24 --output=all
before --jit: ruby 2.7.0dev (2019-09-03T21:02:24Z master 77596fb7a9) +JIT [x86_64-linux]
after --jit: ruby 2.7.0dev (2019-09-04T01:54:44Z master 7363e22d79) +JIT [x86_64-linux]
Calculating -------------------------------------
                                 before --jit           after --jit
Optcarrot Lan_Master.nes    48.44054595799523     71.67010255902900 fps
                            71.32797692837639     71.97846863769546
                            72.51921961607691     78.87360980544105
                            73.54082925611047     79.80408132389941
                            74.03503843709451     79.85739528572826
                            74.04863857926493     79.89850834901381
                            75.30266276129467     80.34607233076015
                            75.69063990896244     80.88474397425360
                            75.70458132587405     81.09234267781642
                            77.39842764662852     82.13766823612643
                            77.76922944068329     82.20398304840373
                            81.17984044023393     82.26722630628272
                            82.85235776076533     82.71375902781254
                            83.04906099135320     82.75893420702198
                            83.10214168136230     82.79668965325972
                            83.71456007558125     82.85131667916379
                            84.06658306760725     82.95676565411722
                            84.25690684305728     83.19972846225775
                            84.27938663923503     83.28510503845854
                            84.45467716218090     83.41003730434703
                            84.51563186125925     83.67773614721280
                            84.56139892968321     84.02082201151110
                            84.69819452180658     84.10495346787033
                            84.78125989622576     84.47867803506055
```

Note for backporter:
test_jit's `success_count` would be 1 in Ruby 2.6, since 2.7 introduced
"MJIT recompile" on JIT-ed code cancel.

[Bug #16139]
2019-09-04 11:10:21 +09:00
..
enc Removed excess spaces 2019-06-28 16:02:47 +09:00
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb
test_arithmetic_sequence.rb enumerator.c: force hash values fixable 2019-04-08 03:26:27 +00:00
test_arity.rb
test_array.rb Make Array#uniq return subclass instance if called on subclass instance 2019-09-02 13:42:31 -07:00
test_assignment.rb Fix parsing of mutiple assignment with rescue modifier 2019-08-09 09:25:30 -07:00
test_ast.rb Make RubyVM::AbstractSyntaxTree handle **nil syntax 2019-08-30 12:39:31 -07:00
test_autoload.rb Suppress void context warning in verbose mode 2019-06-28 12:33:24 +09:00
test_backtrace.rb Fix a wrong lineno in backtrace for cfunc 2019-03-21 05:59:14 +00:00
test_basicinstructions.rb
test_beginendblock.rb eval.c: clear internal errinfo 2019-03-10 06:46:28 +00:00
test_bignum.rb Removed unused variables 2019-06-30 08:45:01 +09:00
test_call.rb
test_case.rb
test_class.rb Show the previous definition location, 2019-08-29 13:24:00 +09:00
test_clone.rb
test_comparable.rb Ignore warnings about mismatched indentations. 2019-06-01 15:23:24 +03:00
test_complex.rb Check exception flag as a bool [Bug #15987] 2019-07-11 20:04:29 +09:00
test_complex2.rb
test_complexrational.rb Implement Complex#<=> 2019-06-19 10:50:58 -07:00
test_condition.rb
test_const.rb Remove support for nil::Constant 2019-08-14 09:50:14 -07:00
test_continuation.rb Give up support for cross-callcc set_trace_func. 2018-11-26 19:59:08 +00:00
test_default_gems.rb
test_defined.rb
test_dir.rb Prohibit nul-separated glob pattern [Feature #14643] (#2419) 2019-09-02 15:08:53 +09:00
test_dir_m17n.rb
test_econv.rb
test_encoding.rb Assertion for r67226 2019-03-12 12:04:03 +00:00
test_enum.rb Adding Enumerable#filter_map 2019-05-23 14:39:16 +09:00
test_enumerator.rb Make size on an infinite each_slice enumerator return Infinity 2019-06-02 20:00:35 -07:00
test_env.rb Renamed to get rid of name clash 2019-07-02 09:31:32 +09:00
test_eval.rb Fix dangling path name from fstring 2019-08-03 13:48:29 +09:00
test_exception.rb Do not clear backtrace in Exception#exception 2019-09-02 16:47:12 +09:00
test_fiber.rb test/ruby/test_fiber.rb: reduce the count of object creation to cause GC 2019-09-03 12:29:36 +09:00
test_file.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_file_exhaustive.rb test/ruby/test_file_exhaustive.rb: suppress method-redefined warning 2019-07-31 11:46:56 +09:00
test_fixnum.rb
test_flip.rb Revert "Remove warnings of flip-flop deprecation from tests and specs" 2019-08-29 11:10:45 +09:00
test_float.rb test/ruby/test_float.rb: suppress an overflow warning 2019-07-31 14:35:54 +09:00
test_fnmatch.rb Split test_fnmatch 2018-12-17 05:57:15 +00:00
test_gc.rb Suppress unused variable warnings 2019-06-30 11:45:37 +09:00
test_gc_compact.rb Skip instead of return 2019-06-30 11:45:38 +09:00
test_hash.rb check hash_hint is different. 2019-08-01 05:21:42 +09:00
test_ifunless.rb
test_integer.rb Fixed duplicate test name 2019-07-12 17:52:22 +09:00
test_integer_comb.rb
test_io.rb Examine TestIO#test_select_exceptfds on Solaris with 1 byte data 2019-09-03 16:51:01 +09:00
test_io_m17n.rb UTF LE is fixed at least the first 2 bytes 2019-08-13 23:38:05 +09:00
test_iseq.rb Iseq#to_binary: Add support for NoMatchingPatternError and TypeError 2019-08-09 01:29:53 +09:00
test_iterator.rb Prefer block_given? to iterator? 2019-01-18 09:52:50 +00:00
test_jit.rb Check frozen flag on MJIT setinstancevariable 2019-09-04 11:10:21 +09:00
test_key_error.rb
test_keyword.rb Fix method name in test to not override existing method name 2019-09-01 18:54:30 -07:00
test_lambda.rb add tests for orphan/not-orphan proc/lambda. 2019-07-15 14:17:27 +09:00
test_lazy_enumerator.rb Fix Enumerator::Lazy#{to_enum,enum_for} where method is defined in Lazy 2019-09-03 11:30:49 -07:00
test_literal.rb Suppress unused variable warnings 2019-06-30 11:45:37 +09:00
test_m17n.rb Check that String#scrub block does not modify receiver 2019-07-02 08:34:01 -07:00
test_m17n_comb.rb Update String#crypt tests to work on OpenBSD 2019-06-01 10:50:06 -07:00
test_marshal.rb marshal.c: check instance variable count 2019-07-01 16:20:03 +09:00
test_math.rb
test_metaclass.rb
test_method.rb Make Method/Proc#parameters handle **nil syntax 2019-08-30 12:39:31 -07:00
test_mixed_unicode_escapes.rb
test_module.rb Show the previous definition location, 2019-08-29 13:24:00 +09:00
test_not.rb
test_notimp.rb test/ruby/test_notimp.rb: Use EnvUtil.timeout for timeout scale factor 2019-05-26 18:24:06 +09:00
test_numeric.rb Inspect dynamic symbol as well as static symbol 2019-08-25 11:39:20 +09:00
test_object.rb Make Object#singleton_methods work correctly for singleton classes of objects 2019-07-23 09:46:09 -07:00
test_objectspace.rb Revert self-referencing finalizer warning [Feature #15974] 2019-07-04 04:01:06 +09:00
test_optimization.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_pack.rb pack.c: refine warning 2018-11-16 00:25:54 +00:00
test_parse.rb Message to pipe should end with a newline 2019-07-07 18:18:22 +09:00
test_path.rb
test_pattern_matching.rb Make pattern matching support **nil syntax 2019-09-01 16:39:34 +09:00
test_pipe.rb
test_primitive.rb
test_proc.rb change Proc#to_s format ('@...' -> ' ...') (#2362) 2019-08-14 16:25:15 +09:00
test_process.rb Give up stabilizing TestProcess on Travis osx 2019-08-06 00:48:00 +09:00
test_rand.rb
test_range.rb Aseert exception at negative step for non-endless range too 2019-08-29 11:16:17 +09:00
test_rational.rb Check exception flag as a bool [Bug #15987] 2019-07-11 20:04:29 +09:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb Search refinement module along nested usings 2019-08-17 12:30:38 +09:00
test_regexp.rb Escape control codes in regexp warning message 2019-06-29 19:07:25 +09:00
test_require.rb Use the original require for test_race_exception 2019-08-17 15:12:46 +09:00
test_rubyoptions.rb Restore support library for only test files. 2019-07-09 21:04:07 +09:00
test_rubyvm.rb
test_rubyvm_mjit.rb Restore support library for only test files. 2019-07-09 21:04:07 +09:00
test_settracefunc.rb solve "duplicate :raise event" in require too [Bug #15877] 2019-08-08 21:27:39 +09:00
test_signal.rb Wait for the helper thread to terminate 2019-06-30 11:41:10 +09:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb Fixed heap-use-after-free 2019-08-15 23:39:14 +09:00
test_stringchar.rb
test_struct.rb Do not turn on keyword_init for Struct subclass if keyword hash is empty 2019-09-03 14:02:24 -07:00
test_super.rb
test_symbol.rb vm_args.c: search symbol proc in super classes 2018-12-30 21:42:52 +00:00
test_syntax.rb Merge pull request #2418 from jeremyevans/array-empty-kwsplat 2019-09-02 08:21:30 -07:00
test_system.rb Removed unused variables 2019-06-30 08:45:01 +09:00
test_thread.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_thread_cv.rb revisit more MJIT test skips 2018-10-22 15:49:22 +00:00
test_thread_queue.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_threadgroup.rb
test_time.rb Relaxed delta of nanosec from Float time 2019-07-13 09:48:12 +09:00
test_time_tz.rb Enable more Time TZ tests on OpenBSD 2019-08-20 21:26:12 -07:00
test_trace.rb
test_transcode.rb add encoding conversion from/to CESU-8 2019-07-14 10:58:50 +09:00
test_undef.rb Test for undef'ed method in class hierachy 2018-11-16 04:21:57 +00:00
test_unicode_escape.rb
test_variable.rb Include inspect value of object in FrozenError messages 2019-06-04 19:25:03 -07:00
test_vm_dump.rb
test_weakmap.rb Allow non-finalizable objects in ObjectSpace::WeakMap 2019-08-29 20:40:52 +09:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb