Age | Commit message (Collapse) | Author |
|
|
|
Fix up previous commit
ref
9aa75795f9f438d5c874d8e418c3c7cdd63024fa,
38002a8adbd98266426940d829429a30af0622a4, and
0e60b59d5884edb8f9aea023efd9b24f1ff02049
|
|
ref 9aa75795f9f438d5c874d8e418c3c7cdd63024fa
|
|
|
|
|
|
|
|
by inlining only hot path.
=== mame/optcarrot ===
$ benchmark-driver -v --rbenv 'before --jit;after --jit' benchmark.yml --repeat-count=24 --output=all
before --jit: ruby 2.8.0dev (2020-05-18T05:21:31Z master 0e5a58b6bf) +JIT [x86_64-linux]
after --jit: ruby 2.8.0dev (2020-05-18T06:12:04Z master 0e3d71a8d1) +JIT [x86_64-linux]
last_commit=Reduce code size for rb_class_of
Calculating -------------------------------------
before --jit after --jit
Optcarrot Lan_Master.nes 71.62880463568773 70.95730063273503 fps
71.73973684273152 71.98447841929851
75.03923801841310 75.54262519509039
75.16300287174957 77.64029272984344
75.16834828625935 78.67861469580785
75.17670723726911 78.81879353707393
75.67637908020630 79.18188850392886
76.19843953215396 79.66484891814478
77.28166716118808 79.80278072861037
77.38509903325165 80.05859292679696
78.12693418455953 80.34624804808006
78.73654441746730 80.66326571254345
79.25387513454415 80.69760605740196
79.44137881689524 81.32053489212245
79.50497657368358 81.50250852553751
79.62401328582868 82.27544931834611
79.79178811723664 82.67455264522741
81.20275352937418 82.93857260493297
81.57027048640776 83.15019118788184
81.63373188649095 83.20728816044721
81.93420437766426 83.25027576772972
82.05716136357167 83.27072145898173
82.21070805525066 83.36008265822194
82.56924063784872 83.36112268888493
=== benchmark-driver/sinatra ===
[rps]
before: 13143.49 rps
after: 13505.70 rps
[inlined rb_class_of size]
before: 11.5K
after: 3.8K
(calculated by `dwarftree --die inlined_subroutine --flat --merge --show-size`)
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3115
|
|
Put some functions which are unlikely to be called on JIT in
.text.unlikely section to improve hot code's locality.
|
|
|
|
|
|
|
|
|
|
https://github.com/ruby/reline/commit/38676ba8c2
|
|
https://github.com/ruby/reline/commit/23c67fb7b3
|
|
https://tiswww.case.edu/php/chet/readline/readline.html#IDX25
> If an attempt is made to set history-size to a non-numeric value, the maximum
> number of history entries will be set to 500.
https://github.com/ruby/reline/commit/acf0437280
|
|
https://github.com/ruby/irb/commit/d7c5fb0273
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3116
|
|
|
|
Run tests in the order given in the command line.
|
|
Defer initialization of extension libraries, loading prelude files
and requiring files, and skip if dump options are given.
|
|
Source code encoding is defaulted to UTF-8 now too.
|
|
When multiple autoclose IO objects are leaked too.
|
|
* Per @nobu review
* Enhanced rdoc for String.new
* Respond to review
Notes:
Merged-By: drbrain <drbrain@segment7.net>
|
|
* Per @nobu review
* Rdoc enhancements for Array
* Responses to review
Notes:
Merged-By: drbrain <drbrain@segment7.net>
|
|
|
|
* Per @nobu review
* [CI skip] Enhance rdoc intro for Hash
* Tweak call-seq for Hash.new
* Tweak call-seq for Hash.new
* Minor corrections
* Respond to review
* Respond to review
* Respond to review
* Respond to review
* Fix chain exampmle
* Response to review
Notes:
Merged-By: drbrain <drbrain@segment7.net>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3112
|
|
TestAutoload#test_source_location can't run multiple test-run so
that use assert_separately().
repro command:
make yes-test-all TESTS='--repeat-count=50 ruby/test_autoload -n test_source_location'
Notes:
Merged: https://github.com/ruby/ruby/pull/3111
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3110
|
|
Add `--suppress-backtrace=num` option to limit the backtrace length
Notes:
Merged-By: mame <mame@ruby-lang.org>
|
|
|
|
https://rubyci.s3.amazonaws.com/debian/ruby-master/log/20200514T123004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20200514T123004Z/ruby/test/scheduler/scheduler.rb:29: warning: assigned but unused variable - fiber
/home/chkbuild/chkbuild/tmp/build/20200514T123004Z/ruby/test/scheduler/scheduler.rb:156: warning: method redefined; discarding old fiber
/home/chkbuild/chkbuild/tmp/build/20200514T123004Z/ruby/test/scheduler/test_fiber.rb:27: warning: ambiguous first argument; put parentheses or a space even after `/' operator
```
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3108
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3032
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
`cache_dir` is an optinal argument but not a keyword argument, and
the return value is a `Pathname`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3105
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3105
|
|
|
|
Ragel generates a code `0 <= (*p)` where `*p` is char.
As char is unsigned by default on arm and RISC-V, it is warned by gcc:
```
compiling parser.c
parser.c: In function ‘JSON_parse_string’:
parser.c:1566:2: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if ( 0 <= (*p) && (*p) <= 31 )
^
parser.c:1596:2: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if ( 0 <= (*p) && (*p) <= 31 )
^
```
This change removes the warning by substituting the condition with
`0 <= (signed char)(*p)`.
|
|
https://github.com/ruby/openssl/commit/41587f69e1
|