aboutsummaryrefslogtreecommitdiffstats
path: root/defs
Commit message (Collapse)AuthorAgeFilesLines
* Prefer $(CHDIR) for the case srcdir contains symlinksNobuyoshi Nakada2019-12-101-1/+1
|
* Suppress git error messageKazuhiro NISHIYAMA2019-11-231-1/+1
| | | | `fatal: not a git repository (or any of the parent directories): .git`
* Fixed for old gitNobuyoshi Nakada2019-11-211-2/+2
|
* Skip updating revision.h when the revision is unchangedNobuyoshi Nakada2019-11-211-0/+4
| | | | note: GNU make only.
* Revert "Method reference operator"Nobuyoshi Nakada2019-11-121-1/+0
| | | | | This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275]
* Added refresh-gemsNobuyoshi Nakada2019-10-241-1/+8
| | | | Refreshes bundled gems to the latest version, and extracts them.
* Removed idNUMPARAM_0Nobuyoshi Nakada2019-09-251-1/+0
|
* Lazy init thread local storageLourens Naudé2019-09-231-0/+1
|
* Added the target to run a benchmarkNobuyoshi Nakada2019-09-201-0/+6
|
* Fixed a variable in checkout-github-%Nobuyoshi Nakada2019-09-201-1/+1
|
* Use target-specific variable instead of a conditional [ci skip]Nobuyoshi Nakada2019-09-091-6/+1
| | | | And test-rubyspec is deprecated.
* Warn local variables which conflict with new numbered parametersNobuyoshi Nakada2019-09-061-0/+13
|
* Made :nil static IDNobuyoshi Nakada2019-09-011-0/+1
|
* Revert "Add pipeline operator [Feature #15799]"Nobuyoshi Nakada2019-08-291-1/+0
| | | | | | | | | | | | | This reverts commits: * d365fd5a024254d7c105a62a015a7ea29ccf3e5d * d780c3662484d6072b3a6945b840049de72c2096 * aa7211836b769231a2a8ef6b6ec2fd0ec882ef29 * 043f010c28e82ea38978bf8ed885416f133b5b75 * bb4dd7c6af05c7821d572e2592ea3d0cc748d81f * 043f010c28e82ea38978bf8ed885416f133b5b75 * f169043d81524b5b529f2c1e9c35437ba5bc3a7a http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645
* Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswinNobuyoshi Nakada2019-08-261-1/+1
| | | | Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
* Added in-srcdir macro [ci skip]Nobuyoshi Nakada2019-08-261-1/+3
|
* exit accepts true and false [ci skip]Nobuyoshi Nakada2019-08-161-1/+1
|
* Use GNU make built-in funtion [ci skip]Nobuyoshi Nakada2019-08-161-2/+2
|
* Also clean up branch for worktreeTakashi Kokubun2019-08-161-1/+2
|
* Clean up temporary git resourcesTakashi Kokubun2019-08-161-1/+3
| | | | after `make update-github`
* Improve `make update-github` to avoid configureTakashi Kokubun2019-08-161-5/+8
| | | | after doing it once.
* Make `make update-github` idempotentTakashi Kokubun2019-08-161-1/+1
|
* Fix crash on $(PULL_REQUEST) expansionTakashi Kokubun2019-08-161-3/+6
| | | | | by directly passing it to Ruby without passing a shell. Formerly it was broken when $(PULL_REQUEST) included quotes.
* Prepare to pull commits notes [ci skip]Nobuyoshi Nakada2019-08-151-0/+2
|
* Simplified GITHUB_TOKEN argument [ci skip]Nobuyoshi Nakada2019-08-151-4/+1
|
* Add `make update-github PR=1234` to refresh PR (#2368)Takashi Kokubun2019-08-151-0/+15
|
* Drop obsoleted `make merge-github` taskTakashi Kokubun2019-08-141-15/+0
|
* 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
|