aboutsummaryrefslogtreecommitdiffstats
path: root/defs
Commit message (Collapse)AuthorAgeFilesLines
...
* spec/bundler needs the specific command [ci skip]Nobuyoshi Nakada2019-08-131-0/+3
|
* Stop rewriting message to include PR URLNobuyoshi Nakada2019-08-131-3/+0
|
* Use rev-parseNobuyoshi Nakada2019-08-121-1/+1
| | | | Use simpler rev-parse to check if pull request was fetched.
* Note the reference to the pull request [ci skip]Nobuyoshi Nakada2019-08-111-0/+1
|
* Use already fetched pull request [ci skip]Nobuyoshi Nakada2019-08-111-1/+4
|
* prereq.status deals with removal of nmake VPATH notations [ci skip]Nobuyoshi Nakada2019-08-111-2/+1
|
* Remove temporary directory [ci skip]Nobuyoshi Nakada2019-08-081-0/+1
|
* Predefine some IDsNobuyoshi Nakada2019-08-031-0/+5
|
* Revert "Revert "Add a specialized instruction for `.nil?` calls""Yusuke Endoh2019-08-021-0/+1
| | | | | | This reverts commit a0980f2446c0db735b8ffeb37e241370c458a626. Retry for macOS Mojave.
* Revert "Add a specialized instruction for `.nil?` calls"Yusuke Endoh2019-08-021-1/+0
| | | | | | | | | | This reverts commit 9faef3113fb4331524b81ba73005ba13fa0ef6c6. It seemed to cause a failure on macOS Mojave, though I'm unsure how. https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190802T034503Z.fail.html.gz This tentative revert is to check if the issue is actually caused by the change or not.
* Add a specialized instruction for `.nil?` callsAaron Patterson2019-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a specialized instruction for called to `.nil?`. It is about 27% faster than master in the case where the object is nil or not nil. In the case where an object implements `nil?`, I think it may be slightly slower. Here is a benchmark: ```ruby require "benchmark/ips" class Niller def nil?; true; end end not_nil = Object.new xnil = nil niller = Niller.new Benchmark.ips do |x| x.report("nil?") { xnil.nil? } x.report("not nil") { not_nil.nil? } x.report("niller") { niller.nil? } end ``` On Ruby master: ``` [aaron@TC ~/g/ruby (master)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 429.195k i/100ms not nil 437.889k i/100ms niller 437.935k i/100ms Calculating ------------------------------------- nil? 20.166M (± 8.1%) i/s - 100.002M in 5.002794s not nil 20.046M (± 7.6%) i/s - 99.839M in 5.020086s niller 22.467M (± 6.1%) i/s - 112.111M in 5.013817s [aaron@TC ~/g/ruby (master)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 449.660k i/100ms not nil 433.836k i/100ms niller 443.073k i/100ms Calculating ------------------------------------- nil? 19.997M (± 8.8%) i/s - 99.375M in 5.020458s not nil 20.529M (± 7.0%) i/s - 102.385M in 5.020689s niller 21.796M (± 8.0%) i/s - 108.110M in 5.002300s [aaron@TC ~/g/ruby (master)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 402.119k i/100ms not nil 438.968k i/100ms niller 398.226k i/100ms Calculating ------------------------------------- nil? 20.050M (±12.2%) i/s - 98.519M in 5.008817s not nil 20.614M (± 8.0%) i/s - 102.280M in 5.004531s niller 22.223M (± 8.8%) i/s - 110.309M in 5.013106s ``` On this branch: ``` [aaron@TC ~/g/ruby (specialized-nilp)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 468.371k i/100ms not nil 456.517k i/100ms niller 454.981k i/100ms Calculating ------------------------------------- nil? 27.849M (± 7.8%) i/s - 138.169M in 5.001730s not nil 26.417M (± 8.7%) i/s - 131.020M in 5.011674s niller 21.561M (± 7.5%) i/s - 107.376M in 5.018113s [aaron@TC ~/g/ruby (specialized-nilp)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 477.259k i/100ms not nil 428.712k i/100ms niller 446.109k i/100ms Calculating ------------------------------------- nil? 28.071M (± 7.3%) i/s - 139.837M in 5.016590s not nil 25.789M (±12.9%) i/s - 126.470M in 5.011144s niller 20.002M (±12.2%) i/s - 98.144M in 5.001737s [aaron@TC ~/g/ruby (specialized-nilp)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 467.676k i/100ms not nil 445.791k i/100ms niller 415.024k i/100ms Calculating ------------------------------------- nil? 26.907M (± 8.0%) i/s - 133.755M in 5.013915s not nil 25.319M (± 7.9%) i/s - 125.713M in 5.007758s niller 19.569M (±11.8%) i/s - 96.286M in 5.008533s ``` Co-Authored-By: Ashe Connor <kivikakk@github.com>
* run single spec [ci skip]Nobuyoshi Nakada2019-07-311-0/+3
|
* Separated tool/test/runner.rb and test/runner.rbNobuyoshi Nakada2019-07-251-1/+1
| | | | | | As `make test-tool` does not use gems, and no Rubygems stuffs is needed, so moved such things to test/runner.rb. Also no longer nees `--test-target-dir` option.
* Adjusted test runnerNobuyoshi Nakada2019-07-241-1/+1
|
* Run test-tool in the order of the testsNobuyoshi Nakada2019-07-221-2/+2
|
* Update before commitNobuyoshi Nakada2019-07-191-1/+1
|
* Separate pull-github from merge-github [ci skip]Nobuyoshi Nakada2019-07-171-8/+26
|
* Fixed the library path for toolsNobuyoshi Nakada2019-07-161-1/+1
|
* update-deps for dependenciesNobuyoshi Nakada2019-07-151-0/+17
|
* Followed up e8ddbc0239.Hiroshi SHIBATA2019-07-151-1/+1
|
* Do not make Unicode tables timestamp phonyNobuyoshi Nakada2019-07-091-1/+1
|
* Fix order of testsNobuyoshi Nakada2019-07-031-2/+1
| | | | | `check` includes `test-testframework`, `test-short` and its preceeding tests, but `test-all` does not.
* Revert expansion of test-allNobuyoshi Nakada2019-07-031-0/+1
|
* Fix test-all substitutionNobuyoshi Nakada2019-07-021-1/+1
|
* Removed test-almost from TEST_TARGETSNobuyoshi Nakada2019-07-021-3/+2
|
* Substitute autoconf variables by prereq.statusNobuyoshi Nakada2019-07-021-1/+1
|
* Add pipeline operator [Feature #15799]Nobuyoshi Nakada2019-06-131-0/+1
|
* Moved Makefile.in under templateNobuyoshi Nakada2019-06-071-1/+1
|
* Revert "Moved Makefile.in under template"Nobuyoshi Nakada2019-06-071-1/+1
| | | | | | | | | This reverts commits: * 6f9d5fafe040cb02a1278fbfcdcb8063d564824c * bb3c89b6437049e26669b2156310670d5e06e386 And remove the dependency of Makefile on Makefile.in transitionally.
* Moved Makefile.in under templateNobuyoshi Nakada2019-06-071-1/+1
|
* Force update all RDoc at installNobuyoshi Nakada2019-05-251-0/+4
| | | | RDoc needs to parse all files at once for the cross-reference.
* Fixed a typoNobuyoshi Nakada2019-05-081-4/+4
|
* Makefiles need to be indented by tabsNobuyoshi Nakada2019-04-281-1/+2
|
* BSD's mktemp does not have `-p`Takashi Kokubun2019-04-251-1/+1
|
* Show `make checkout-github/merge-github` in helpTakashi Kokubun2019-04-251-0/+5
|
* Resurrect `make xxx-github PR=1234` interfaceTakashi Kokubun2019-04-251-2/+2
| | | | `call xxx, yyy` seems to pass " yyy" instead of "yyy".
* Added pr-%Nobuyoshi Nakada2019-04-251-7/+22
| | | | | | May merge multiple github pull requests at once. e.g., $ make pr-123456789 pr-987654321
* Cache git config valuesNobuyoshi Nakada2019-04-251-6/+11
|
* Add `make checkout-github` tooTakashi Kokubun2019-04-251-0/+4
| | | | You can use this like `make checkout-github PR=1234`
* Make working tree under the source directoryNobuyoshi Nakada2019-04-251-3/+3
|
* Rebase the pull request in a worktreeNobuyoshi Nakada2019-04-251-4/+6
| | | | | | | A pull request based on an old commit may rewind too many files, even if unnecessary. As rewinding some files, e.g., common header files, configure.ac, will result in full-rebuild, rebase in a separate directory to get rid of such rewind.
* Automatically gpg-sign rebase when commit.gpgsignTakashi Kokubun2019-04-251-4/+7
| | | | | | is true Closes: https://github.com/ruby/ruby/pull/2148
* Add `make fetch-github` and `make merge-github`Takashi Kokubun2019-04-241-0/+27
| | | | Closes: https://github.com/ruby/ruby/pull/2147
* force 10 chars SHA1 display.Koichi Sasada2019-04-241-1/+1
| | | | | | | `make update-src` shows latest commit hash for convinience. However, `rev-parse --short` option shows different length (maybe) between git versions. This fix force 10 chars with `--short=10`.
* Show the latest commit hash after updatenobu2019-04-211-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Introduce pattern matching [EXPERIMENTAL]ktsj2019-04-171-0/+1
| | | | | | [ruby-core:87945] [Feature #14912] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: name a hidden local variable as a predefined IDnobu2019-04-101-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Reverting all commits from r67479 to r67496 because of CI failureskazu2019-04-101-1/+0
| | | | | | | | Because hard to specify commits related to r67479 only. So please commit again. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: name a hidden local variable as a predefined IDnobu2019-04-101-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gmake.mk: get rid of unicode normalization table timestampnobu2019-04-041-1/+6
| | | | | | | | * common.mk, defs/gmake.mk: rid of unicode normalization tables timestamp. update the target tables file only when only it exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e