ruby/test
Jean Boussier 5001cc4716 Optimize ObjectSpace.dump_all
The two main optimization are:
  - buffer writes for improved performance
  - avoid formatting functions when possible

```

|                   |compare-ruby|built-ruby|
|:------------------|-----------:|---------:|
|dump_all_string    |       1.038|   195.925|
|                   |           -|   188.77x|
|dump_all_file      |      33.453|   139.645|
|                   |           -|     4.17x|
|dump_all_dev_null  |      44.030|   278.552|
|                   |           -|     6.33x|
```
2020-09-09 11:11:36 -07:00
..
-ext- Added `get_real` interface 2020-09-07 20:08:01 +09:00
base64
benchmark
bigdecimal bidecimal: improve tests' independence (#3297) 2020-07-12 17:30:29 +09:00
cgi need to restore $stdin. 2020-03-02 13:14:38 +09:00
coverage test/coverage/test_coverage.rb: Add a test for [Bug #16967] 2020-06-20 09:28:03 +09:00
csv [ruby/csv] CSV.generate_line: use the encoding of the first non ASCII field as the expected encoding 2020-07-20 02:32:55 +09:00
date [ruby/date] Fix cannot load complex into simple error when loading marshal dump (Fixes #20) 2020-06-20 18:35:03 +09:00
dbm [ruby/dbm] Remove taint support 2019-10-26 07:03:33 +09:00
did_you_mean Sync did_you_mean 2020-06-06 13:02:08 -04:00
digest test/digest/test_digest.rb: Apply EnvUtil.apply_timeout_scale to timeout 2020-03-27 15:32:52 +09:00
drb Explicitly loading with envutil.rb 2020-05-28 14:41:08 +09:00
dtrace test/dtrace/helper.rb: Etc.getgrnam may return nil on some platforms 2019-10-06 15:23:00 +09:00
erb Fixup 3292f4d965 2020-08-21 20:40:26 +09:00
etc test/etc/test_etc.rb: skip some tests on Android 2020-02-12 17:28:29 +09:00
excludes Revert "Skip interruptible raw mode test on Travis-CI" 2019-12-18 00:08:21 +09:00
fiber test/fiber/test_backtrace.rb: prevent a warning 2020-08-18 14:36:39 +09:00
fiddle Workaroud for macOS Big Sur(11.0) 2020-09-08 20:39:23 +09:00
fileutils Fix Encoding::CompatibilityError in `FileUtils::Entry_#join` 2020-06-22 18:34:24 +09:00
gdbm [ruby/gdbm] Workaround for GitHub Actions 2020-06-09 20:54:52 +09:00
io [ruby/io-console] Bug 17128: In test_set_winsize_console, wrapped re-size in a begin-rescue-else. 2020-08-27 23:46:02 +09:00
irb Skip irb/test_history on Windows too 2020-08-20 13:24:55 +09:00
json test/json/json_fixtures_test.rb: Prevent an "out of range" warning 2020-07-03 11:47:09 +09:00
lib test/lib/jit_support.rb: Let JIT tests skip on centos8 2020-05-12 17:48:31 +09:00
logger [ruby/logger] Let Logger#reopen not raise on nil log devices 2020-06-11 13:54:04 +09:00
matrix [ruby/matrix] Add Matrix#adjoint [#14] 2020-05-01 03:25:15 -04:00
mkmf Make the mkmf methods private in the global [Bug #16896] 2020-07-13 18:44:22 +09:00
monitor Fix MonitorMixin when the super's initialize has kwargs 2020-07-17 16:37:18 -07:00
net [ruby/net-http] Fix SSL session reuse test with LibreSSL 3.2+ 2020-08-03 18:56:14 +09:00
nkf
objspace Optimize ObjectSpace.dump_all 2020-09-09 11:11:36 -07:00
open-uri Remove the deprecated override of Kernel#open in open-uri 2020-08-16 07:41:40 -07:00
openssl Revert the related commits about `Tempfile.open` change. 2020-09-09 21:10:48 +09:00
optparse `LoadError` is not a subclass of `StandardError` 2019-11-29 11:25:23 +09:00
ostruct lib/ostruct.rb: Revert "To use RuntimeError instead of FrozenError for old ruby versions." 2020-09-04 01:23:14 -04:00
pathname Prefer more descriptive assertion methods 2020-06-21 11:31:48 +09:00
psych [ruby/psych] Fix anchor lookup with symbolized names 2020-06-23 15:26:29 +09:00
racc Fixed misspellings 2019-12-20 12:19:45 +09:00
rdoc Revert changes to rdoc & rubygems regarding Tempfile.open(&block) 2020-08-29 12:49:20 +02:00
readline Suppress bell during the test 2020-07-18 19:33:11 +09:00
reline [ruby/reline] Keep original characters in inputrc 2020-08-18 19:08:40 +09:00
resolv MinGW on Actions (#2791) 2019-12-30 23:19:31 -08:00
rinda Revert "Try increasing read timeout of rinda tests" 2020-06-26 22:43:59 -07:00
ripper Drop token info for endless method definition 2020-06-25 01:14:26 +09:00
ruby Revert the related commits about `Tempfile.open` change. 2020-09-09 21:10:48 +09:00
rubygems Revert changes to rdoc & rubygems regarding Tempfile.open(&block) 2020-08-29 12:49:20 +02:00
socket Make Socket.getaddrinfo interruptible (#2827) 2020-08-27 16:39:13 +09:00
stringio [stringio] fix stringio codepoint enumerator off by one error 2020-08-27 23:41:22 +09:00
strscan Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
syslog
uri Fakes IPSocket.getaddress in the whole method 2020-05-06 16:06:25 +09:00
webrick Add tests of nested multibyte path and DirectoryIndex 2020-06-22 17:31:07 +09:00
win32ole Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
yaml
zlib [ruby/zlib] Fix setting mtime to zero in GzipWriter 2019-10-31 22:23:58 +09:00
runner.rb
test_abbrev.rb
test_delegate.rb Add instance_methods to class generated by DelegateClass 2020-07-09 15:01:10 -07:00
test_extlibs.rb Removed sdbm entries from toolchanins 2020-06-19 08:26:47 +09:00
test_find.rb
test_forwardable.rb [ruby/forwardable] Make def_*_delegator return name of method defined (Fixes #10) 2019-12-11 20:23:53 +09:00
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb [open3] only close streams if a block is passed 2020-06-18 10:00:20 -07:00
test_pp.rb Mask RubyVM-specific test 2020-03-05 16:49:27 -06:00
test_prettyprint.rb
test_prime.rb [ruby/prime] Fix Prime.include? 2020-03-06 20:54:33 +09:00
test_pstore.rb
test_pty.rb
test_rbconfig.rb Make RbConfig::CONFIG values mutable [Bug #16738] 2020-03-25 22:09:28 +09:00
test_securerandom.rb
test_set.rb Make mutating the result of SortedSet#to_a not affect the set 2020-06-11 14:02:00 -07:00
test_shellwords.rb Do not escape + in Shellwords.escape 2019-09-27 07:43:32 -07:00
test_singleton.rb
test_syslog.rb Update some syslog tests to absurb the format change of FreeBSD syslog 2020-03-12 15:30:20 +09:00
test_tempfile.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_time.rb Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptime 2019-11-21 03:32:20 +02:00
test_timeout.rb
test_tmpdir.rb Correctly remove temporary directory if path yielded is mutated 2020-05-29 07:06:46 -07:00
test_tracer.rb Use realpath to try to fix failures with symlinks 2019-11-23 11:41:27 +09:00
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb